summaryrefslogtreecommitdiffstats
path: root/webkit/support/test_webkit_client.cc
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 19:41:24 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-30 19:41:24 +0000
commit6464b4c1fa4b1553547dbf9096ddc8209bc555c8 (patch)
tree93c8967f26d48565f61419cb868dbd3eeb0b9360 /webkit/support/test_webkit_client.cc
parent7b37cab53f1ef329106196428a20e83d3293edbb (diff)
downloadchromium_src-6464b4c1fa4b1553547dbf9096ddc8209bc555c8.zip
chromium_src-6464b4c1fa4b1553547dbf9096ddc8209bc555c8.tar.gz
chromium_src-6464b4c1fa4b1553547dbf9096ddc8209bc555c8.tar.bz2
Expose Mac WebThemeEngine hooks added by r70278 (and r74581 on the WebKit side)
to test_shell/DRT. BUG=23498 TEST=Layout tests Review URL: http://codereview.chromium.org/6090002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webkit_client.cc')
-rw-r--r--webkit/support/test_webkit_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/support/test_webkit_client.cc b/webkit/support/test_webkit_client.cc
index e45c263..0360d29 100644
--- a/webkit/support/test_webkit_client.cc
+++ b/webkit/support/test_webkit_client.cc
@@ -331,7 +331,7 @@ void TestWebKitClient::createIDBKeysFromSerializedValuesAndKeyPath(
keys_out.swap(keys);
}
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_MACOSX)
void TestWebKitClient::SetThemeEngine(WebKit::WebThemeEngine* engine) {
active_theme_engine_ = engine ? engine : WebKitClientImpl::themeEngine();
}