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

Unified Diff: ui/gl/init/gl_factory_mac.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.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/init/gl_factory_mac.cc
diff --git a/ui/gl/init/gl_factory_mac.cc b/ui/gl/init/gl_factory_mac.cc
index fce7f2e159680b5769d05a762db6da3a82cd97f8..6716f4109df7a77e7ca7fb0c94778de9010b8246 100644
--- a/ui/gl/init/gl_factory_mac.cc
+++ b/ui/gl/init/gl_factory_mac.cc
@@ -43,6 +43,7 @@ class NoOpGLSurface : public GLSurface {
void* GetHandle() override { return nullptr; }
void* GetDisplay() override { return nullptr; }
bool IsSurfaceless() const override { return true; }
+ GLSurfaceFormat GetFormat() override { return GLSurfaceFormat(); }
protected:
~NoOpGLSurface() override {}
« no previous file with comments | « ui/gl/gl_surface_wgl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698