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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 10541019: Adding a field trial for testing --force-compositing-mode on 50% of (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 140632)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -1448,6 +1448,9 @@
extension, view_type, web_prefs);
}
+ if (ChromeBrowserMainParts::in_force_compositing_mode_trial())
+ web_prefs->force_compositing_mode = true;
+
if (view_type == chrome::VIEW_TYPE_NOTIFICATION) {
web_prefs->allow_scripts_to_close_windows = true;
} else if (view_type == chrome::VIEW_TYPE_BACKGROUND_CONTENTS) {

Powered by Google App Engine
This is Rietveld 408576698