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

Unified Diff: cc/CCThreadedTest.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 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 | « cc/CCThreadedTest.h ('k') | cc/CCTileDrawQuad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCThreadedTest.cpp
diff --git a/cc/CCThreadedTest.cpp b/cc/CCThreadedTest.cpp
index 332c7bc2938c67131daa6edd62b1940b235fab9a..4a1f2cbb49eb554eb0282a2d561c8f62f9bcee6f 100644
--- a/cc/CCThreadedTest.cpp
+++ b/cc/CCThreadedTest.cpp
@@ -33,7 +33,7 @@
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
-using namespace WebCore;
+using namespace cc;
using namespace WebKit;
namespace WebKitTests {
@@ -132,9 +132,9 @@ MockLayerTreeHostImpl::MockLayerTreeHostImpl(TestHooks* testHooks, const CCLayer
}
// Adapts CCLayerTreeHost for test. Injects MockLayerTreeHostImpl.
-class MockLayerTreeHost : public WebCore::CCLayerTreeHost {
+class MockLayerTreeHost : public cc::CCLayerTreeHost {
public:
- static PassOwnPtr<MockLayerTreeHost> create(TestHooks* testHooks, WebCore::CCLayerTreeHostClient* client, PassRefPtr<WebCore::LayerChromium> rootLayer, const WebCore::CCLayerTreeSettings& settings)
+ static PassOwnPtr<MockLayerTreeHost> create(TestHooks* testHooks, cc::CCLayerTreeHostClient* client, PassRefPtr<cc::LayerChromium> rootLayer, const cc::CCLayerTreeSettings& settings)
{
OwnPtr<MockLayerTreeHost> layerTreeHost(adoptPtr(new MockLayerTreeHost(testHooks, client, settings)));
bool success = layerTreeHost->initialize();
@@ -149,7 +149,7 @@ public:
return layerTreeHost.release();
}
- virtual PassOwnPtr<WebCore::CCLayerTreeHostImpl> createLayerTreeHostImpl(WebCore::CCLayerTreeHostImplClient* client)
+ virtual PassOwnPtr<cc::CCLayerTreeHostImpl> createLayerTreeHostImpl(cc::CCLayerTreeHostImplClient* client)
{
return MockLayerTreeHostImpl::create(m_testHooks, settings(), client);
}
@@ -161,7 +161,7 @@ public:
}
private:
- MockLayerTreeHost(TestHooks* testHooks, WebCore::CCLayerTreeHostClient* client, const WebCore::CCLayerTreeSettings& settings)
+ MockLayerTreeHost(TestHooks* testHooks, cc::CCLayerTreeHostClient* client, const cc::CCLayerTreeSettings& settings)
: CCLayerTreeHost(client, settings)
, m_testHooks(testHooks)
{
« no previous file with comments | « cc/CCThreadedTest.h ('k') | cc/CCTileDrawQuad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698