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

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

Issue 1915113005: [WeakMemoryCache] Field-Trial: Make Reference from MemoryCache to Resource weak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MemoryCache_1b0
Patch Set: Rebase. Created 4 years, 7 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 9f730958289b4d093745964f236e839b88f3b824..420b3ff1ea476795f8c470b29a1ee7a2035129d3 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -110,6 +110,11 @@ void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
}
+void WebRuntimeFeatures::enableDoNotUnlockSharedBuffer(bool enable)
+{
+ RuntimeEnabledFeatures::setDoNotUnlockSharedBufferEnabled(enable);
+}
+
void WebRuntimeFeatures::enableDocumentWriteEvaluator(bool enable)
{
RuntimeEnabledFeatures::setDocumentWriteEvaluatorEnabled(enable);
@@ -270,6 +275,11 @@ void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable)
RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
}
+void WebRuntimeFeatures::enableWeakMemoryCache(bool enable)
+{
+ RuntimeEnabledFeatures::setWeakMemoryCacheEnabled(enable);
+}
+
void WebRuntimeFeatures::enableWebVR(bool enable)
{
RuntimeEnabledFeatures::setWebVREnabled(enable);
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698