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

Unified Diff: gpu/command_buffer/service/gl_surface_mock.h

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 | « no previous file | gpu/command_buffer/tests/gl_dynamic_config_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_surface_mock.h
diff --git a/gpu/command_buffer/service/gl_surface_mock.h b/gpu/command_buffer/service/gl_surface_mock.h
index ae2e72de6206517ae1677e037cced21e2b5cdd3a..10e81debbac509f3e0c68eaae78b21fe177b43f1 100644
--- a/gpu/command_buffer/service/gl_surface_mock.h
+++ b/gpu/command_buffer/service/gl_surface_mock.h
@@ -16,7 +16,7 @@ class GLSurfaceMock : public gl::GLSurface {
public:
GLSurfaceMock();
- MOCK_METHOD1(Initialize, bool(gl::GLSurface::Format format));
+ MOCK_METHOD1(Initialize, bool(gl::GLSurfaceFormat format));
MOCK_METHOD0(Destroy, void());
MOCK_METHOD3(Resize,
bool(const gfx::Size& size, float scale_factor, bool alpha));
@@ -34,7 +34,7 @@ class GLSurfaceMock : public gl::GLSurface {
MOCK_METHOD0(GetShareHandle, void*());
MOCK_METHOD0(GetDisplay, void*());
MOCK_METHOD0(GetConfig, void*());
- MOCK_METHOD0(GetFormat, GLSurface::Format());
+ MOCK_METHOD0(GetFormat, gl::GLSurfaceFormat());
protected:
virtual ~GLSurfaceMock();
« no previous file with comments | « no previous file | gpu/command_buffer/tests/gl_dynamic_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698