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

Unified Diff: ui/gl/gpu_timing_unittest.cc

Issue 2014223002: Follow-up fixes to changing namespace gfx to gl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 | « ui/gl/gl_surface_wgl.cc ('k') | ui/gl/test/gl_image_test_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gpu_timing_unittest.cc
diff --git a/ui/gl/gpu_timing_unittest.cc b/ui/gl/gpu_timing_unittest.cc
index 9a2f56aeb22be92f094af2bba825f2430258bfd3..88768166a7b5d74b514fff2582759db45602dfb3 100644
--- a/ui/gl/gpu_timing_unittest.cc
+++ b/ui/gl/gpu_timing_unittest.cc
@@ -38,7 +38,7 @@ class GPUTimingTest : public testing::Test {
surface_ = nullptr;
if (setup_) {
MockGLInterface::SetGLInterface(NULL);
- gl::ClearGLBindings();
+ ClearGLBindings();
}
setup_ = false;
cpu_time_bounded_ = false;
@@ -56,7 +56,7 @@ class GPUTimingTest : public testing::Test {
context_ = new GLContextStubWithExtensions;
context_->AddExtensionsString(gl_extensions);
context_->SetGLVersionString(gl_version);
- surface_ = new gl::GLSurfaceStub;
+ surface_ = new GLSurfaceStub;
context_->MakeCurrent(surface_.get());
gpu_timing_fake_queries_.Reset();
GLSurfaceTestSupport::InitializeDynamicMockBindings(context_.get());
@@ -82,7 +82,7 @@ class GPUTimingTest : public testing::Test {
bool cpu_time_bounded_ = false;
std::unique_ptr<::testing::StrictMock<MockGLInterface>> gl_;
scoped_refptr<GLContextStubWithExtensions> context_;
- scoped_refptr<gl::GLSurfaceStub> surface_;
+ scoped_refptr<GLSurfaceStub> surface_;
GPUTimingFake gpu_timing_fake_queries_;
};
@@ -214,4 +214,4 @@ TEST_F(GPUTimingTest, QueryTimestampUsingElapsedARBTest) {
EXPECT_EQ(begin_cpu_time, end);
}
-} // namespace gpu
+} // namespace gl
« no previous file with comments | « ui/gl/gl_surface_wgl.cc ('k') | ui/gl/test/gl_image_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698