Index: ui/gl/gl_surface.cc |
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc |
index 2fccf8783179654eceec09112831715299684f3e..da0831528b79c30fb0341153cd79d7edb3103b54 100644 |
--- a/ui/gl/gl_surface.cc |
+++ b/ui/gl/gl_surface.cc |
@@ -190,9 +190,9 @@ void* GLSurface::GetConfig() { |
return NULL; |
} |
-unsigned GLSurface::GetFormat() { |
+GLSurface::Format GLSurface::GetFormat() { |
NOTIMPLEMENTED(); |
- return 0; |
+ return SURFACE_DEFAULT; |
} |
VSyncProvider* GLSurface::GetVSyncProvider() { |
@@ -373,7 +373,7 @@ void* GLSurfaceAdapter::GetConfig() { |
return surface_->GetConfig(); |
} |
-unsigned GLSurfaceAdapter::GetFormat() { |
+GLSurface::Format GLSurfaceAdapter::GetFormat() { |
return surface_->GetFormat(); |
} |