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

Unified Diff: Source/web/tests/TextFinderTest.cpp

Issue 545123002: Cleanup namespace usage in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | « Source/web/tests/SpinLockTest.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/TextFinderTest.cpp
diff --git a/Source/web/tests/TextFinderTest.cpp b/Source/web/tests/TextFinderTest.cpp
index 50b61c19938376c3c410b1d8bdf524d6b05a2e56..9f324c3f3acdea571bad69abd14ffc20e5fbb339 100644
--- a/Source/web/tests/TextFinderTest.cpp
+++ b/Source/web/tests/TextFinderTest.cpp
@@ -362,7 +362,7 @@ protected:
virtual void TearDown() OVERRIDE;
// A simple platform that mocks out the clock.
- class TimeProxyPlatform : public blink::Platform {
+ class TimeProxyPlatform : public Platform {
public:
TimeProxyPlatform()
: m_timeCounter(0.)
@@ -372,24 +372,24 @@ protected:
void install()
{
// Check that the proxy wasn't installed yet.
- ASSERT_NE(blink::Platform::current(), this);
- m_fallbackPlatform = blink::Platform::current();
+ ASSERT_NE(Platform::current(), this);
+ m_fallbackPlatform = Platform::current();
m_timeCounter = m_fallbackPlatform->currentTime();
- blink::Platform::initialize(this);
- ASSERT_EQ(blink::Platform::current(), this);
+ Platform::initialize(this);
+ ASSERT_EQ(Platform::current(), this);
}
void remove()
{
// Check that the proxy was installed.
- ASSERT_EQ(blink::Platform::current(), this);
- blink::Platform::initialize(m_fallbackPlatform);
- ASSERT_EQ(blink::Platform::current(), m_fallbackPlatform);
+ ASSERT_EQ(Platform::current(), this);
+ Platform::initialize(m_fallbackPlatform);
+ ASSERT_EQ(Platform::current(), m_fallbackPlatform);
m_fallbackPlatform = 0;
}
private:
- blink::Platform& ensureFallback()
+ Platform& ensureFallback()
{
ASSERT(m_fallbackPlatform);
return *m_fallbackPlatform;
@@ -429,7 +429,7 @@ protected:
virtual WebCompositorSupport* compositorSupport() OVERRIDE { return ensureFallback().compositorSupport(); }
double m_timeCounter;
- blink::Platform* m_fallbackPlatform;
+ Platform* m_fallbackPlatform;
};
TimeProxyPlatform m_proxyTimePlatform;
« no previous file with comments | « Source/web/tests/SpinLockTest.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698