| 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;
|
|
|