Skip to content

Commit

Permalink
Fix build on Fedora 20.
Browse files Browse the repository at this point in the history
The build broke because atk_focus_tracker_notify is deprecated since ATK
2.9.4 and Chromium builds with warnings set as errors.

BUG=298815

Review URL: https://codereview.chromium.org/25166002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225895 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
costan@gmail.com committed Sep 29, 2013
1 parent b7ce0e6 commit d59906d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ Vamshikrishna Yellenki <vamshi@motorola.com>
Vedran Šajatović <vedran.sajatovic@gmail.com>
Vernon Tang <vt@foilhead.net>
Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Victor Costan <costan@gmail.com>
Viet-Trung Luu <viettrungluu@gmail.com>
Vinay Anantharaman <vinaya@adobe.com>
Vipul Bhasin <vipul.bhasin@gmail.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,9 @@ void BrowserAccessibilityManagerGtk::NotifyAccessibilityEvent(
RecursivelySendChildrenChanged(GetRoot()->ToBrowserAccessibilityGtk());
break;
case WebKit::WebAXEventFocus:
// Note: atk_focus_tracker_notify may be deprecated in the future;
// follow this bug for the replacement:
// https://bugzilla.gnome.org/show_bug.cgi?id=649575#c4
// Note: the focus-event was deprecated in ATK 2.9.4
// See https://bugzilla.gnome.org/show_bug.cgi?id=649575#c8
g_signal_emit_by_name(atk_object, "focus-event", true);
atk_focus_tracker_notify(atk_object);
break;
default:
break;
Expand Down

0 comments on commit d59906d

Please sign in to comment.