diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 02:36:16 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 02:36:16 +0000 |
commit | 4b47a84cfe39e2769369143706efe363b81dde22 (patch) | |
tree | f7b3f5e6781ed7e3231086e5516e465b10474211 /chrome/browser/gtk | |
parent | be7e64b131bca19ec5d1a042f32cfd4294045ff8 (diff) | |
download | chromium_src-4b47a84cfe39e2769369143706efe363b81dde22.zip chromium_src-4b47a84cfe39e2769369143706efe363b81dde22.tar.gz chromium_src-4b47a84cfe39e2769369143706efe363b81dde22.tar.bz2 |
Initialize dragged tab backing store to null.
This fixes a crasher I ran into when testing.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/155263
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/tabs/dragged_tab_gtk.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/gtk/tabs/dragged_tab_gtk.cc b/chrome/browser/gtk/tabs/dragged_tab_gtk.cc index c927541..81012eb 100644 --- a/chrome/browser/gtk/tabs/dragged_tab_gtk.cc +++ b/chrome/browser/gtk/tabs/dragged_tab_gtk.cc @@ -39,7 +39,8 @@ const SkColor kDraggedTabBorderColor = SkColorSetRGB(103, 129, 162); DraggedTabGtk::DraggedTabGtk(TabContents* datasource, const gfx::Point& mouse_tab_offset, const gfx::Size& contents_size) - : renderer_(new TabRendererGtk), + : backing_store_(NULL), + renderer_(new TabRendererGtk), attached_(false), mouse_tab_offset_(mouse_tab_offset), attached_tab_size_(TabRendererGtk::GetMinimumSelectedSize()), |