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

Unified Diff: ui/gl/gl_surface_glx.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_glx.h ('k') | ui/gl/gl_surface_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_glx.cc
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
index 37ef1103c1fdde836dde4b14c509e3d1b3e1d4fe..d5f282dabb29e1c6734dcb9c59772f16170dd4db 100644
--- a/ui/gl/gl_surface_glx.cc
+++ b/ui/gl/gl_surface_glx.cc
@@ -616,6 +616,10 @@ void* NativeViewGLSurfaceGLX::GetConfig() {
return config_;
}
+GLSurfaceFormat NativeViewGLSurfaceGLX::GetFormat() {
+ return GLSurfaceFormat();
+}
+
unsigned long NativeViewGLSurfaceGLX::GetCompatibilityKey() {
return visual_id_;
}
@@ -709,6 +713,10 @@ void* UnmappedNativeViewGLSurfaceGLX::GetConfig() {
return config_;
}
+GLSurfaceFormat UnmappedNativeViewGLSurfaceGLX::GetFormat() {
+ return GLSurfaceFormat();
+}
+
unsigned long UnmappedNativeViewGLSurfaceGLX::GetCompatibilityKey() {
return XVisualIDFromVisual(g_visual);
}
« no previous file with comments | « ui/gl/gl_surface_glx.h ('k') | ui/gl/gl_surface_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698