commit | e1f6bdd90eb2de36bb502df04281f05f33e7e7c4 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Feb 07 21:52:58 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Feb 07 21:52:58 2012 |
tree | a6233373eecfa85e0a9ddce7de59b43788ddde6b | |
parent | e9e0a92b0bc317196b41a72699baa3a06f8cbc65 [diff] [blame] |
Adding command line switch --enable-deferred-2d-canvas REVIEW=https://chromiumcodereview.appspot.com/9325004/ BUG=111204 TEST=None Review URL: https://chromiumcodereview.appspot.com/9325004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120829 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc index 8b883d2..9863cee3 100644 --- a/content/browser/tab_contents/tab_contents.cc +++ b/content/browser/tab_contents/tab_contents.cc
@@ -363,6 +363,8 @@ prefs.accelerated_2d_canvas_enabled = GpuProcessHost::gpu_enabled() && !command_line.HasSwitch(switches::kDisableAccelerated2dCanvas); + prefs.deferred_2d_canvas_enabled = + command_line.HasSwitch(switches::kEnableDeferred2dCanvas); prefs.accelerated_painting_enabled = GpuProcessHost::gpu_enabled() && command_line.HasSwitch(switches::kEnableAcceleratedPainting);