summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_content_layer.cc
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 11:33:07 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-13 11:33:07 +0000
commit42cfd6ea4e6d447e55d0128399c6ab0dfd418e8f (patch)
treeb68261db4c1d11ebd2c8bc6865b3ed679e07bb75 /cc/test/fake_content_layer.cc
parentb9d4bfd6cccb715a3e013e4f6cd3e8628655a4a3 (diff)
downloadchromium_src-42cfd6ea4e6d447e55d0128399c6ab0dfd418e8f.zip
chromium_src-42cfd6ea4e6d447e55d0128399c6ab0dfd418e8f.tar.gz
chromium_src-42cfd6ea4e6d447e55d0128399c6ab0dfd418e8f.tar.bz2
cc: Chromify fake test layers
Some minor changes mostly to remove /^public:/ matches so these don't get listed as being unformatted. R=danakj@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/12413019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_content_layer.cc')
-rw-r--r--cc/test/fake_content_layer.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/cc/test/fake_content_layer.cc b/cc/test/fake_content_layer.cc
index f5c64c1..7aafd9f 100644
--- a/cc/test/fake_content_layer.cc
+++ b/cc/test/fake_content_layer.cc
@@ -12,7 +12,7 @@ namespace cc {
FakeContentLayer::FakeContentLayer(ContentLayerClient* client)
: ContentLayer(client),
update_count_(0) {
- SetAnchorPoint(gfx::PointF(0, 0));
+ SetAnchorPoint(gfx::PointF(0.f, 0.f));
SetBounds(gfx::Size(1, 1));
SetIsDrawable(true);
}
@@ -24,10 +24,9 @@ scoped_ptr<LayerImpl> FakeContentLayer::CreateLayerImpl(
return FakeContentLayerImpl::Create(tree_impl, layer_id_).PassAs<LayerImpl>();
}
-void FakeContentLayer::Update(
- ResourceUpdateQueue* queue,
- const OcclusionTracker* occlusion,
- RenderingStats* stats) {
+void FakeContentLayer::Update(ResourceUpdateQueue* queue,
+ const OcclusionTracker* occlusion,
+ RenderingStats* stats) {
ContentLayer::Update(queue, occlusion, stats);
update_count_++;
}