diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 14:24:17 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 14:24:17 +0000 |
commit | da8ccd25b461077070b410af07b20e03b4fefd36 (patch) | |
tree | d0482920238efa54e315e0e5c517be6faa28aab4 /chrome/browser | |
parent | 2c5c9d596ad422529c88b47db2b60eff9410cde0 (diff) | |
download | chromium_src-da8ccd25b461077070b410af07b20e03b4fefd36.zip chromium_src-da8ccd25b461077070b410af07b20e03b4fefd36.tar.gz chromium_src-da8ccd25b461077070b410af07b20e03b4fefd36.tar.bz2 |
Add --enable-accelerated-filters flag to Chrome. This is the chrome-side change corresponding to http://trac.webkit.org/changeset/102088. Note that most of this is the result of blind devotion to cargo cult, based on code for other flags.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8822025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/tab_contents/render_view_host_delegate_helper.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc index 7f3b255..752fcbb 100644 --- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc +++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc @@ -460,6 +460,9 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( web_prefs.accelerated_drawing_enabled = GpuProcessHost::gpu_enabled() && command_line.HasSwitch(switches::kEnableAcceleratedDrawing); + web_prefs.accelerated_filters_enabled = + GpuProcessHost::gpu_enabled() && + command_line.HasSwitch(switches::kEnableAcceleratedFilters); web_prefs.accelerated_layers_enabled = !command_line.HasSwitch(switches::kDisableAcceleratedLayers); web_prefs.composite_to_texture_enabled = |