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

Unified Diff: content/renderer/render_view_impl.cc

Issue 678763007: Add --enable-slimming-paint command line flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix copying from ipc 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/public/common/web_preferences.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 9f52327816d5d3f5647cd5600e30d48265476796..e10dba307b8e8c882b17036a1cd59b19131afe3f 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -947,6 +947,7 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setJavaScriptCanAccessClipboard(
prefs.javascript_can_access_clipboard);
WebRuntimeFeatures::enableXSLT(prefs.xslt_enabled);
+ WebRuntimeFeatures::enableSlimmingPaint(prefs.slimming_paint_enabled);
settings->setXSSAuditorEnabled(prefs.xss_auditor_enabled);
settings->setDNSPrefetchingEnabled(prefs.dns_prefetching_enabled);
settings->setLocalStorageEnabled(prefs.local_storage_enabled);
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698