summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.cc
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-29 21:27:01 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-29 21:27:01 +0000
commit1c4ff85935600c96ac8cadeaa21c2122ba07e9a3 (patch)
treea596d93e20bffc225e0f190bf02263a40c41a813 /webkit/glue/webkitclient_impl.cc
parenteb54c5b4da5ab9c4d50cb619de0dc8baff60e9dd (diff)
downloadchromium_src-1c4ff85935600c96ac8cadeaa21c2122ba07e9a3.zip
chromium_src-1c4ff85935600c96ac8cadeaa21c2122ba07e9a3.tar.gz
chromium_src-1c4ff85935600c96ac8cadeaa21c2122ba07e9a3.tar.bz2
Add implementation of WebThemeEngine for the Mac (declared by
http://webkit.org/b/51507). This allows scrollbar thumb rendering to be overridden, so that we can match the Mac port's when running under the DRT. BUG=23498 TEST=Layout tests Review URL: http://codereview.chromium.org/6041005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.cc')
-rw-r--r--webkit/glue/webkitclient_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index 844aae7..faf2926 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -204,7 +204,7 @@ WebKitClientImpl::~WebKitClientImpl() {
}
WebThemeEngine* WebKitClientImpl::themeEngine() {
-#if defined(OS_WIN) || defined(OS_LINUX)
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
return &theme_engine_;
#else
return NULL;