| Index: android_webview/lib/main/aw_main_delegate.cc
|
| diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
|
| index 3a1d3232567191d895e28574dbeeb35c1743cb06..34097b0e7e96a0641abf258b465d077fcd0529e6 100644
|
| --- a/android_webview/lib/main/aw_main_delegate.cc
|
| +++ b/android_webview/lib/main/aw_main_delegate.cc
|
| @@ -25,6 +25,7 @@
|
| #include "content/public/common/content_switches.h"
|
| #include "gpu/command_buffer/client/gl_in_process_context.h"
|
| #include "gpu/command_buffer/service/in_process_command_buffer.h"
|
| +#include "gpu/command_buffer/service/mailbox_synchronizer.h"
|
| #include "media/base/media_switches.h"
|
| #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h"
|
|
|
| @@ -66,9 +67,7 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
|
| cl->AppendSwitch(switches::kDisableExperimentalWebGL);
|
| cl->AppendSwitch(switches::kDisableSharedWorkers);
|
|
|
| - // Ganesh backed 2D-Canvas integration is being implemented but not ready to
|
| - // be turned on by default yet.
|
| - if (!cl->HasSwitch(switches::kEnableAccelerated2dCanvas))
|
| + if (!gpu::gles2::MailboxSynchronizer::Initialize())
|
| cl->AppendSwitch(switches::kDisableAccelerated2dCanvas);
|
|
|
| // File system API not supported (requires some new API; internal bug 6930981)
|
|
|