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

Unified Diff: cc/test/fake_web_graphics_context_3d_unittest.cc

Issue 11474050: cc: Unify namespaces for all test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 | « cc/test/fake_web_graphics_context_3d.cc ('k') | cc/test/fake_web_scrollbar_theme_geometry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_web_graphics_context_3d_unittest.cc
diff --git a/cc/test/fake_web_graphics_context_3d_unittest.cc b/cc/test/fake_web_graphics_context_3d_unittest.cc
index ade749fed056fa00930e5a948a8aabb30030500c..e099408471dc9e8352f184485b06e3d6ae93427b 100644
--- a/cc/test/fake_web_graphics_context_3d_unittest.cc
+++ b/cc/test/fake_web_graphics_context_3d_unittest.cc
@@ -8,7 +8,10 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-class ContextThatCountsMakeCurrents : public WebKit::FakeWebGraphicsContext3D {
+namespace cc {
+namespace {
+
+class ContextThatCountsMakeCurrents : public FakeWebGraphicsContext3D {
public:
ContextThatCountsMakeCurrents() : m_makeCurrentCount(0) { }
virtual bool makeContextCurrent() OVERRIDE
@@ -29,3 +32,6 @@ TEST(FakeWebGraphicsContext3DTest, CreationShouldNotMakeCurrent)
EXPECT_TRUE(context.get());
EXPECT_EQ(0, context->makeCurrentCount());
}
+
+} // namespace
+} // namespace cc
« no previous file with comments | « cc/test/fake_web_graphics_context_3d.cc ('k') | cc/test/fake_web_scrollbar_theme_geometry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698