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

Unified Diff: third_party/WebKit/Source/platform/graphics/test/FakeGLES2Interface.h

Issue 2875703003: Rewrite two more classes to new blink style. (Closed)
Patch Set: . Created 3 years, 7 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 | « third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/test/FakeGLES2Interface.h
diff --git a/third_party/WebKit/Source/platform/graphics/test/FakeGLES2Interface.h b/third_party/WebKit/Source/platform/graphics/test/FakeGLES2Interface.h
index b2328c60b0d896f66c02cccf9c4ac2dc8e38adb0..a221c6b740d8d749a454d0f28e58c29cc3800067 100644
--- a/third_party/WebKit/Source/platform/graphics/test/FakeGLES2Interface.h
+++ b/third_party/WebKit/Source/platform/graphics/test/FakeGLES2Interface.h
@@ -11,14 +11,14 @@ class FakeGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
public:
// GLES2Interface implementation.
GLenum GetGraphicsResetStatusKHR() override {
- return m_contextLost ? GL_INVALID_OPERATION : GL_NO_ERROR;
+ return context_lost_ ? GL_INVALID_OPERATION : GL_NO_ERROR;
}
// Methods for tests.
- void setIsContextLost(bool lost) { m_contextLost = lost; }
+ void SetIsContextLost(bool lost) { context_lost_ = lost; }
private:
- bool m_contextLost = false;
+ bool context_lost_ = false;
};
#endif // FakeGLES2Interface_h
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698