summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_tile_manager.cc
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-13 17:42:55 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-13 17:42:55 +0000
commit026191dd8e11f7ec1a02aad6e82f0069c4f3c1f3 (patch)
tree454f87ea11282119689e4535342a17919b873eb2 /cc/test/fake_tile_manager.cc
parentabe936a3a342bff8a3e4689083881bbf21bfa503 (diff)
downloadchromium_src-026191dd8e11f7ec1a02aad6e82f0069c4f3c1f3.zip
chromium_src-026191dd8e11f7ec1a02aad6e82f0069c4f3c1f3.tar.gz
chromium_src-026191dd8e11f7ec1a02aad6e82f0069c4f3c1f3.tar.bz2
cc: Remove use of "internal" namespace for TaskGraph.
BUG= TBR=vmpstr@chromium.org Review URL: https://codereview.chromium.org/235963006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.cc')
-rw-r--r--cc/test/fake_tile_manager.cc18
1 files changed, 8 insertions, 10 deletions
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc
index 4fbf704..3b86035 100644
--- a/cc/test/fake_tile_manager.cc
+++ b/cc/test/fake_tile_manager.cc
@@ -14,8 +14,7 @@ namespace cc {
namespace {
-class FakeRasterizerImpl : public Rasterizer,
- public internal::RasterizerTaskClient {
+class FakeRasterizerImpl : public Rasterizer, public RasterizerTaskClient {
public:
// Overridden from Rasterizer:
virtual void SetClient(RasterizerClient* client) OVERRIDE {}
@@ -25,7 +24,7 @@ class FakeRasterizerImpl : public Rasterizer,
queue->items.begin();
it != queue->items.end();
++it) {
- internal::RasterTask* task = it->task;
+ RasterTask* task = it->task;
task->WillSchedule();
task->ScheduleOnOriginThread(this);
@@ -35,10 +34,10 @@ class FakeRasterizerImpl : public Rasterizer,
}
}
virtual void CheckForCompletedTasks() OVERRIDE {
- for (internal::RasterTask::Vector::iterator it = completed_tasks_.begin();
+ for (RasterTask::Vector::iterator it = completed_tasks_.begin();
it != completed_tasks_.end();
++it) {
- internal::RasterTask* task = it->get();
+ RasterTask* task = it->get();
task->WillComplete();
task->CompleteOnOriginThread(this);
@@ -49,15 +48,14 @@ class FakeRasterizerImpl : public Rasterizer,
completed_tasks_.clear();
}
- // Overridden from internal::RasterizerTaskClient:
- virtual SkCanvas* AcquireCanvasForRaster(internal::RasterTask* task)
- OVERRIDE {
+ // Overridden from RasterizerTaskClient:
+ virtual SkCanvas* AcquireCanvasForRaster(RasterTask* task) OVERRIDE {
return NULL;
}
- virtual void ReleaseCanvasForRaster(internal::RasterTask* task) OVERRIDE {}
+ virtual void ReleaseCanvasForRaster(RasterTask* task) OVERRIDE {}
private:
- internal::RasterTask::Vector completed_tasks_;
+ RasterTask::Vector completed_tasks_;
};
base::LazyInstance<FakeRasterizerImpl> g_fake_rasterizer =
LAZY_INSTANCE_INITIALIZER;