| Index: app/gfx/gl/gl_context_egl.cc
|
| ===================================================================
|
| --- app/gfx/gl/gl_context_egl.cc (revision 66799)
|
| +++ app/gfx/gl/gl_context_egl.cc (working copy)
|
| @@ -246,6 +246,15 @@
|
| return true;
|
| }
|
|
|
| +void NativeViewEGLContext::SetSize(gfx::Size size) {
|
| +#if defined(OS_WIN)
|
| + 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);
|
| +#endif
|
| +}
|
| +
|
| gfx::Size NativeViewEGLContext::GetSize() {
|
| #if defined(OS_WIN)
|
| RECT rect;
|
|
|