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

Unified Diff: content/browser/tab_contents/tab_contents.cc

Issue 9839073: Added the command line flag that enables CSS Shaders: "--enable-css-custom-filter". (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased and changed to "--enable-css-shaders" Created 8 years, 9 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 | « AUTHORS ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index aa7d8e07ab70d920df104448025523837a4eacca..9f783d0b931986641db42717f577078d2a274ccb 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -433,7 +433,8 @@ WebPreferences TabContents::GetWebkitPrefs(RenderViewHost* rvh,
!command_line.HasSwitch(switches::kDisableFullScreen);
prefs.css_regions_enabled =
command_line.HasSwitch(switches::kEnableCssRegions);
-
+ prefs.css_shaders_enabled =
+ command_line.HasSwitch(switches::kEnableCssShaders);
#if defined(OS_MACOSX)
bool default_enable_scroll_animator = true;
« no previous file with comments | « AUTHORS ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698