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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2192493003: Enable GPU acceleration in 2D OffscreenCanvases on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dev tools failure Created 4 years, 4 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
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 881e5b4c99d3ee63b4f97c63ff0bbfa27b914463..c8e6c603a11ec95129dfcdcae6a0541365fe7a7e 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -60,6 +60,11 @@ void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable)
RuntimeEnabledFeatures::setTestFeaturesEnabled(enable);
}
+void WebRuntimeFeatures::enableAccelerated2dCanvas(bool enable)
+{
+ RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable);
+}
+
void WebRuntimeFeatures::enableAudioOutputDevices(bool enable)
{
RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable);
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698