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

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 12378094: Implement WebKit::Platform::isThreadedCompositingEnabled() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « webkit/support/test_webkit_platform_support.h ('k') | webkit/support/webkit_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | webkit/support/webkit_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698