diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 00:23:12 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 00:23:12 +0000 |
commit | de7f5b64ce3af84be7b8ca40eb0742291ba07984 (patch) | |
tree | 4604999dea6e4ea4467db81247b8bfd71acd42f6 /chrome/browser | |
parent | 4f4b73364d434db20971d39579fd687ba8a94c40 (diff) | |
download | chromium_src-de7f5b64ce3af84be7b8ca40eb0742291ba07984.zip chromium_src-de7f5b64ce3af84be7b8ca40eb0742291ba07984.tar.gz chromium_src-de7f5b64ce3af84be7b8ca40eb0742291ba07984.tar.bz2 |
Style cleanup of member variable in FindBarGtk.
I missed this during review.
Review URL: http://codereview.chromium.org/543112
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.cc | 6 | ||||
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc index cbe90b4..4da0575 100644 --- a/chrome/browser/gtk/find_bar_gtk.cc +++ b/chrome/browser/gtk/find_bar_gtk.cc @@ -301,7 +301,7 @@ void FindBarGtk::InitWidgets() { void FindBarGtk::Show(bool animate) { if (animate) { slide_widget_->Open(); - selection_rect = gfx::Rect(); + selection_rect_ = gfx::Rect(); Reposition(); if (container_->window) gdk_window_raise(container_->window); @@ -350,7 +350,7 @@ void FindBarGtk::SetFindText(const string16& find_text) { void FindBarGtk::UpdateUIForFindResult(const FindNotificationDetails& result, const string16& find_text) { if (!result.selection_rect().IsEmpty()) { - selection_rect = result.selection_rect(); + selection_rect_ = result.selection_rect(); int xposition = GetDialogPosition(result.selection_rect()).x(); if (xposition != widget()->allocation.x) Reposition(); @@ -624,7 +624,7 @@ void FindBarGtk::OnSetFloatingPosition( FindBarGtk* find_bar) { GtkWidget* findbar = find_bar->widget(); - int xposition = find_bar->GetDialogPosition(find_bar->selection_rect).x(); + int xposition = find_bar->GetDialogPosition(find_bar->selection_rect_).x(); GValue value = { 0, }; g_value_init(&value, G_TYPE_INT); diff --git a/chrome/browser/gtk/find_bar_gtk.h b/chrome/browser/gtk/find_bar_gtk.h index bad7122..d928c90 100644 --- a/chrome/browser/gtk/find_bar_gtk.h +++ b/chrome/browser/gtk/find_bar_gtk.h @@ -197,7 +197,7 @@ class FindBarGtk : public FindBar, // The selection rect we are currently showing. We cache it to avoid covering // it up. - gfx::Rect selection_rect; + gfx::Rect selection_rect_; NotificationRegistrar registrar_; |