Index: webkit/support/test_webkit_platform_support.cc |
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc |
index d4020cb3914d9d427b245df12a146fa0d63b634d..a1d9bfc1cd3df35221ff127e5782f5f57ddc2719 100644 |
--- a/webkit/support/test_webkit_platform_support.cc |
+++ b/webkit/support/test_webkit_platform_support.cc |
@@ -72,7 +72,8 @@ using WebKit::WebScriptController; |
TestWebKitPlatformSupport::TestWebKitPlatformSupport(bool unit_test_mode, |
WebKit::Platform* shadow_platform_delegate) |
: unit_test_mode_(unit_test_mode), |
- shadow_platform_delegate_(shadow_platform_delegate) { |
+ shadow_platform_delegate_(shadow_platform_delegate), |
+ threaded_compositing_enabled_(false) { |
v8::V8::SetCounterFunction(base::StatsTable::FindLocation); |
WebKit::initialize(this); |
@@ -413,6 +414,10 @@ bool TestWebKitPlatformSupport::canAccelerate2dCanvas() { |
return true; |
} |
+bool TestWebKitPlatformSupport::isThreadedCompositingEnabled() { |
+ return threaded_compositing_enabled_; |
+} |
+ |
double TestWebKitPlatformSupport::audioHardwareSampleRate() { |
return 44100.0; |
} |