summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 22:57:50 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 22:57:50 +0000
commit2b883b9efefed5734f396719990f2412b99dd0fe (patch)
treec90f5ca79a6dd76b7b1fa47f94a912a3490b159c /views/widget
parent9b85ddbb8f293a96c5fe28f00e1e8632c8370cb3 (diff)
downloadchromium_src-2b883b9efefed5734f396719990f2412b99dd0fe.zip
chromium_src-2b883b9efefed5734f396719990f2412b99dd0fe.tar.gz
chromium_src-2b883b9efefed5734f396719990f2412b99dd0fe.tar.bz2
Adds linux2 variable and change to WidgetGtk to make it compile.
BUG=none TEST=none Review URL: http://codereview.chromium.org/119057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/widget_gtk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc
index f79601e..ee380d3 100644
--- a/views/widget/widget_gtk.cc
+++ b/views/widget/widget_gtk.cc
@@ -77,7 +77,9 @@ void WidgetGtk::Init(GtkWidget* parent,
// Force creation of the RootView if it hasn't been created yet.
GetRootView();
+#if !defined(LINUX2)
default_theme_provider_.reset(new DefaultThemeProvider());
+#endif
// Make container here.
CreateGtkWidget();