Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1098)

Unified Diff: content/shell/renderer/test_runner/test_interfaces.cc

Issue 647223002: Remove unused paintScrollbarThumb impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/renderer/test_runner/test_interfaces.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_interfaces.cc
diff --git a/content/shell/renderer/test_runner/test_interfaces.cc b/content/shell/renderer/test_runner/test_interfaces.cc
index 5f62c15c81503a042fbc34ad2682626b85ffd356..7f6c964adcae4e4788ed9e625c461a6f9f794373 100644
--- a/content/shell/renderer/test_runner/test_interfaces.cc
+++ b/content/shell/renderer/test_runner/test_interfaces.cc
@@ -183,13 +183,8 @@ const std::vector<WebTestProxyBase*>& TestInterfaces::GetWindowList() {
blink::WebThemeEngine* TestInterfaces::GetThemeEngine() {
if (!test_runner_->UseMockTheme())
return 0;
-#if defined(OS_MACOSX)
- if (!theme_engine_.get())
- theme_engine_.reset(new MockWebThemeEngineMac());
-#else
if (!theme_engine_.get())
theme_engine_.reset(new MockWebThemeEngine());
-#endif
return theme_engine_.get();
}
« no previous file with comments | « content/shell/renderer/test_runner/test_interfaces.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698