Skip to content

Commit

Permalink
gtk: Fix style case of attributeFlags variable. It should be unix_hac…
Browse files Browse the repository at this point in the history
…ker style.

R=erg@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10802007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147820 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tfarina@chromium.org committed Jul 22, 2012
1 parent 9c9233b commit d9b1cf2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions chrome/browser/ui/gtk/zoom_bubble_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,10 @@ ZoomBubbleGtk::ZoomBubbleGtk(GtkWidget* anchor,
gfx::Rect rect(kBubbleAnchorWidth, kBubbleAnchorHeight);
BubbleGtk::ArrowLocationGtk arrow_location =
BubbleGtk::ARROW_LOCATION_TOP_MIDDLE;
int attributeFlags = BubbleGtk::MATCH_SYSTEM_THEME | BubbleGtk::POPUP_WINDOW;
bubble_ = BubbleGtk::Show(anchor,
&rect,
container,
arrow_location,
auto_close ? attributeFlags :
attributeFlags | BubbleGtk::GRAB_INPUT,
theme_service,
NULL);
int bubble_options = BubbleGtk::MATCH_SYSTEM_THEME | BubbleGtk::POPUP_WINDOW;
bubble_ = BubbleGtk::Show(anchor, &rect, container, arrow_location,
auto_close ? bubble_options : bubble_options | BubbleGtk::GRAB_INPUT,
theme_service, NULL);

if (!bubble_) {
NOTREACHED();
Expand Down

0 comments on commit d9b1cf2

Please sign in to comment.