diff options
author | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-11 06:04:14 +0000 |
---|---|---|
committer | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-11 06:04:14 +0000 |
commit | a23530dae09f5788647484b08cd5461928ffd994 (patch) | |
tree | ff661d6f80b9d626f9b6a78da07992257843cc80 /android_webview/lib | |
parent | 1acec0ced6bf1beeb39639059f4820a4bff098e3 (diff) | |
download | chromium_src-a23530dae09f5788647484b08cd5461928ffd994.zip chromium_src-a23530dae09f5788647484b08cd5461928ffd994.tar.gz chromium_src-a23530dae09f5788647484b08cd5461928ffd994.tar.bz2 |
Define a --force-gpu-rasterization flag
This flag forces gpu rasterization for all layers (that is, it behaves the
way --enable-gpu-rasterization behaved previously).
--enable-gpu-rasterization now enables gpu rasterization only on layers
that have a GPU rasterization hint. Since this hint will be added in a
later CL, this flag is currently a no-op.
BUG=329722
Review URL: https://codereview.chromium.org/189883009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/lib')
-rw-r--r-- | android_webview/lib/main/aw_main_delegate.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc index 1d5d5be..a7cbd6f 100644 --- a/android_webview/lib/main/aw_main_delegate.cc +++ b/android_webview/lib/main/aw_main_delegate.cc @@ -20,7 +20,6 @@ #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/threading/thread_restrictions.h" -#include "cc/base/switches.h" #include "content/public/browser/browser_main_runner.h" #include "content/public/browser/browser_thread.h" #include "content/public/common/content_switches.h" @@ -57,7 +56,8 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { CommandLine* cl = CommandLine::ForCurrentProcess(); cl->AppendSwitch(switches::kEnableBeginFrameScheduling); - cl->AppendSwitch(cc::switches::kEnableMapImage); + cl->AppendSwitch(switches::kEnableMapImage); + cl->AppendSwitch(switches::kEnableImplSidePainting); // WebView uses the Android system's scrollbars and overscroll glow. cl->AppendSwitch(switches::kHideScrollbars); |