| Index: content/browser/gpu/compositor_util.cc
|
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
|
| index 7ef34d577393ac2b340f32b0007e3ae745773490..802b4507729d065330cb401efe561f0b3d0000a3 100644
|
| --- a/content/browser/gpu/compositor_util.cc
|
| +++ b/content/browser/gpu/compositor_util.cc
|
| @@ -196,8 +196,12 @@ bool IsDelegatedRendererEnabled() {
|
| bool IsImplSidePaintingEnabled() {
|
| const base::CommandLine& command_line =
|
| *base::CommandLine::ForCurrentProcess();
|
| - if (command_line.HasSwitch(switches::kDisableImplSidePainting))
|
| +
|
| + if (command_line.HasSwitch(switches::kEnableImplSidePainting))
|
| + return true;
|
| + else if (command_line.HasSwitch(switches::kDisableImplSidePainting))
|
| return false;
|
| +
|
| return true;
|
| }
|
|
|
|
|