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

Unified Diff: ui/gl/gl_surface_cgl.cc

Issue 337303003: CARemoteLayer alive-ish (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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_cgl.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_cgl.cc
diff --git a/ui/gl/gl_surface_cgl.cc b/ui/gl/gl_surface_cgl.cc
index 6c35693bdccdc2d4e6f1a5988735b0a47ef58264..70c2841d9bfaa8d1a5c7fe28f35322a993fba777 100644
--- a/ui/gl/gl_surface_cgl.cc
+++ b/ui/gl/gl_surface_cgl.cc
@@ -20,8 +20,7 @@ namespace {
CGLPixelFormatObj g_pixel_format;
}
-GLSurfaceCGL::GLSurfaceCGL() {}
-
+// static
bool GLSurfaceCGL::InitializeOneOff() {
static bool initialized = false;
if (initialized)
@@ -61,12 +60,11 @@ bool GLSurfaceCGL::InitializeOneOff() {
return true;
}
+// static
void* GLSurfaceCGL::GetPixelFormat() {
return g_pixel_format;
}
-GLSurfaceCGL::~GLSurfaceCGL() {}
-
NoOpGLSurfaceCGL::NoOpGLSurfaceCGL(const gfx::Size& size)
: size_(size) {
}
« no previous file with comments | « ui/gl/gl_surface_cgl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698