Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: ui/gl/gl_surface_egl.cc

Issue 10836300: Override Resize() in NativeViewGLSurfaceEGL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_surface_egl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.cc
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
index 0e36a6aa41c960e7368eea7a59f32883611338f0..0dfa4de47b4e558296adeba29a06f6dba3fbc68f 100644
--- a/ui/gl/gl_surface_egl.cc
+++ b/ui/gl/gl_surface_egl.cc
@@ -338,6 +338,10 @@ gfx::Size NativeViewGLSurfaceEGL::GetSize() {
return gfx::Size(width, height);
}
+bool NativeViewGLSurfaceEGL::Resize(const gfx::Size& size) {
+ return size == GetSize();
+}
+
EGLSurface NativeViewGLSurfaceEGL::GetHandle() {
return surface_;
}
« no previous file with comments | « ui/gl/gl_surface_egl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698