Commit ea6948b2 authored by danakj@chromium.org's avatar danakj@chromium.org

Remove call to setAcceleratedCompositingForCanvasEnabled.

This will make setAcceleratedCompositingForCanvasEnabled always be
true. There are separate settings to turning canvas on/off entirely.

R=piman@chromium.org
BUG=364908

Review URL: https://codereview.chromium.org/445123002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287913 0039d316-1c4b-4281-b951-d872f2087c98
parent 1158ce6d
...@@ -1057,10 +1057,6 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs, ...@@ -1057,10 +1057,6 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
// Enable container culling if requested on the command line. // Enable container culling if requested on the command line.
settings->setContainerCullingEnabled(prefs.container_culling_enabled); settings->setContainerCullingEnabled(prefs.container_culling_enabled);
// WebGL and accelerated 2D canvas are always gpu composited.
settings->setAcceleratedCompositingForCanvasEnabled(
prefs.experimental_webgl_enabled || prefs.accelerated_2d_canvas_enabled);
settings->setAsynchronousSpellCheckingEnabled( settings->setAsynchronousSpellCheckingEnabled(
prefs.asynchronous_spell_checking_enabled); prefs.asynchronous_spell_checking_enabled);
settings->setUnifiedTextCheckerEnabled(prefs.unified_textchecker_enabled); settings->setUnifiedTextCheckerEnabled(prefs.unified_textchecker_enabled);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment