| Index: content/renderer/pepper_platform_context_3d_impl.cc
|
| ===================================================================
|
| --- content/renderer/pepper_platform_context_3d_impl.cc (revision 105357)
|
| +++ content/renderer/pepper_platform_context_3d_impl.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "googleurl/src/gurl.h"
|
| #include "gpu/command_buffer/client/gles2_cmd_helper.h"
|
| #include "gpu/command_buffer/client/gles2_implementation.h"
|
| +#include "ui/gfx/gl/gpu_preference.h"
|
|
|
| #ifdef ENABLE_GPU
|
|
|
| @@ -99,7 +100,8 @@
|
| NULL,
|
| "*",
|
| attribs,
|
| - GURL::EmptyGURL());
|
| + GURL::EmptyGURL(),
|
| + gfx::PreferDiscreteGpu);
|
| if (!command_buffer_)
|
| return false;
|
|
|
|
|