diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 23:03:14 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 23:03:14 +0000 |
commit | b39b708246bd53c09e4fea01dac923d742c303e0 (patch) | |
tree | e127360cb5770501bca3e62a079853708ae52be4 /chrome/browser/gtk/browser_toolbar_gtk.cc | |
parent | be930259c6ff84c0211298c0cdeecbf5d4863850 (diff) | |
download | chromium_src-b39b708246bd53c09e4fea01dac923d742c303e0.zip chromium_src-b39b708246bd53c09e4fea01dac923d742c303e0.tar.gz chromium_src-b39b708246bd53c09e4fea01dac923d742c303e0.tar.bz2 |
Implement and use the -> operator for OwnedWidgetGtk.
Also change dragged_tabs_gtk's container_ to be a OwnedWidgetGtk just to be on the safe side.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/119221
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_toolbar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/browser_toolbar_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.cc b/chrome/browser/gtk/browser_toolbar_gtk.cc index 8a9fb3d..ef34459 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.cc +++ b/chrome/browser/gtk/browser_toolbar_gtk.cc @@ -354,7 +354,7 @@ gboolean BrowserToolbarGtk::OnToolbarExpose(GtkWidget* widget, // coordinates for the IDR_THEME_TOOLBAR bitmap relative to the top of the // tab strip. Since the toolbar's GdkWindow has the same origin as the tab // strip's GdkWindow, we can just pass 0. - toolbar->background_ninebox_.get()->RenderTopCenterStrip(cr, + toolbar->background_ninebox_->RenderTopCenterStrip(cr, e->area.x, 0, e->area.width); cairo_destroy(cr); |