summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/go_button_gtk.cc
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 19:16:39 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 19:16:39 +0000
commit7a2a9ce8a5fd79c2fbb5bf3db7a7d58bbd73ce80 (patch)
tree74b9d0ffa81673c7d14c3670d4466500ce96a542 /chrome/browser/gtk/go_button_gtk.cc
parent87f8ce656196b6e6e2cd87e379891128b45b2174 (diff)
downloadchromium_src-7a2a9ce8a5fd79c2fbb5bf3db7a7d58bbd73ce80.zip
chromium_src-7a2a9ce8a5fd79c2fbb5bf3db7a7d58bbd73ce80.tar.gz
chromium_src-7a2a9ce8a5fd79c2fbb5bf3db7a7d58bbd73ce80.tar.bz2
Revert "Add button tinting to the toolbar buttons."
This reverts commit r20396. TBR=erg Review URL: http://codereview.chromium.org/155367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/go_button_gtk.cc')
-rw-r--r--chrome/browser/gtk/go_button_gtk.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/gtk/go_button_gtk.cc b/chrome/browser/gtk/go_button_gtk.cc
index ada25b0..ef58f76 100644
--- a/chrome/browser/gtk/go_button_gtk.cc
+++ b/chrome/browser/gtk/go_button_gtk.cc
@@ -10,7 +10,6 @@
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/gtk/location_bar_view_gtk.h"
-#include "chrome/browser/profile.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
@@ -22,10 +21,8 @@ GoButtonGtk::GoButtonGtk(LocationBarViewGtk* location_bar, Browser* browser)
intended_mode_(MODE_GO),
visible_mode_(MODE_GO),
state_(BS_NORMAL),
- go_(browser->profile()->GetThemeProvider(), IDR_GO, IDR_GO_P, IDR_GO_H,
- 0),
- stop_(browser->profile()->GetThemeProvider(), IDR_STOP, IDR_STOP_P,
- IDR_STOP_H, 0),
+ go_(IDR_GO, IDR_GO_P, IDR_GO_H, 0),
+ stop_(IDR_STOP, IDR_STOP_P, IDR_STOP_H, 0),
widget_(gtk_button_new()) {
gtk_widget_set_size_request(widget_.get(),
gdk_pixbuf_get_width(go_.pixbufs(0)),