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

Unified Diff: ui/gl/gl_surface_wgl.cc

Issue 2616723002: Refactor GL surface format handling (Closed)
Patch Set: Fix copyright notice on new files Created 3 years, 11 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.h » ('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 7d4053cbcb1e2cc94bee4aab13df2b0bdcebb96d..a971b152210c659c6caf45d25f8e7bfa72d83104 100644
--- a/ui/gl/gl_surface_wgl.cc
+++ b/ui/gl/gl_surface_wgl.cc
@@ -192,7 +192,7 @@ NativeViewGLSurfaceWGL::~NativeViewGLSurfaceWGL() {
Destroy();
}
-bool NativeViewGLSurfaceWGL::Initialize(GLSurface::Format format) {
+bool NativeViewGLSurfaceWGL::Initialize(GLSurfaceFormat format) {
DCHECK(!device_context_);
RECT rect;
@@ -334,7 +334,7 @@ PbufferGLSurfaceWGL::~PbufferGLSurfaceWGL() {
Destroy();
}
-bool PbufferGLSurfaceWGL::Initialize(GLSurface::Format format) {
+bool PbufferGLSurfaceWGL::Initialize(GLSurfaceFormat format) {
DCHECK(!device_context_);
if (!g_driver_wgl.fn.wglCreatePbufferARBFn) {
« no previous file with comments | « ui/gl/gl_surface_wgl.h ('k') | ui/gl/init/gl_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698