Index: app/gfx/gl/gl_context_egl.cc |
=================================================================== |
--- app/gfx/gl/gl_context_egl.cc (revision 66779) |
+++ app/gfx/gl/gl_context_egl.cc (working copy) |
@@ -246,6 +246,13 @@ |
return true; |
} |
+void NativeViewEGLContext::SetSize(gfx::Size size) { |
+ HWND hwnd = static_cast<HWND>(window_); |
+ UINT swp_flags = SWP_NOSENDCHANGING | SWP_NOOWNERZORDER | SWP_NOCOPYBITS | |
+ SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE | SWP_DEFERERASE; |
+ SetWindowPos(hwnd, NULL, 0, 0, size.width(), size.height(), swp_flags); |
+} |
+ |
gfx::Size NativeViewEGLContext::GetSize() { |
#if defined(OS_WIN) |
RECT rect; |