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

Unified Diff: ui/gl/gl_surface_wgl.cc

Issue 2702403009: Make surface GetFormat pure virtual, add missing overrides. (Closed)
Patch Set: Fix class name for Windows Created 3 years, 10 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_wgl.h ('k') | ui/gl/init/gl_factory_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_wgl.cc
diff --git a/ui/gl/gl_surface_wgl.cc b/ui/gl/gl_surface_wgl.cc
index a971b152210c659c6caf45d25f8e7bfa72d83104..eb48cc462e451cdcda66723aa86ec1077dfaee97 100644
--- a/ui/gl/gl_surface_wgl.cc
+++ b/ui/gl/gl_surface_wgl.cc
@@ -320,6 +320,10 @@ void* NativeViewGLSurfaceWGL::GetHandle() {
return device_context_;
}
+GLSurfaceFormat NativeViewGLSurfaceWGL::GetFormat() {
+ return GLSurfaceFormat();
+}
+
PbufferGLSurfaceWGL::PbufferGLSurfaceWGL(const gfx::Size& size)
: size_(size),
device_context_(NULL),
@@ -394,4 +398,8 @@ void* PbufferGLSurfaceWGL::GetHandle() {
return device_context_;
}
+GLSurfaceFormat PbufferGLSurfaceWGL::GetFormat() {
+ return GLSurfaceFormat();
+}
+
} // namespace gl
« no previous file with comments | « ui/gl/gl_surface_wgl.h ('k') | ui/gl/init/gl_factory_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698