Index: content/renderer/render_widget_fullscreen_pepper.cc |
=================================================================== |
--- content/renderer/render_widget_fullscreen_pepper.cc (revision 105158) |
+++ content/renderer/render_widget_fullscreen_pepper.cc (working copy) |
@@ -14,6 +14,7 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" |
+#include "ui/gfx/gl/gpu_preference.h" |
#include "webkit/plugins/ppapi/plugin_delegate.h" |
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
@@ -362,7 +363,8 @@ |
NULL, |
"GL_OES_packed_depth_stencil GL_OES_depth24", |
attribs, |
- active_url_); |
+ active_url_, |
+ gfx::PreferIntegratedGpu); |
if (!context_) |
return; |