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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp

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
Index: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp
index 48b152b3f8a6bfaa4bedf1bef97f2e59a790dc32..e26157a84f7aed42ba8bd1f0283803a49910101d 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContextTest.cpp
@@ -20,7 +20,7 @@ class SharedGpuContextTest : public Test {
public:
void SetUp() override {
SharedGpuContext::SetContextProviderFactoryForTesting([this] {
- gl_.setIsContextLost(false);
+ gl_.SetIsContextLost(false);
return std::unique_ptr<WebGraphicsContext3DProvider>(
new FakeWebGraphicsContext3DProvider(&gl_));
});
@@ -36,7 +36,7 @@ class SharedGpuContextTest : public Test {
TEST_F(SharedGpuContextTest, contextLossAutoRecovery) {
EXPECT_TRUE(SharedGpuContext::IsValid());
unsigned context_id = SharedGpuContext::ContextId();
- gl_.setIsContextLost(true);
+ gl_.SetIsContextLost(true);
EXPECT_FALSE(SharedGpuContext::IsValidWithoutRestoring());
EXPECT_TRUE(SharedGpuContext::IsValid());
EXPECT_NE(context_id, SharedGpuContext::ContextId());

Powered by Google App Engine
This is Rietveld 408576698