diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 20:57:10 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 20:57:10 +0000 |
commit | 7f4d26b8f1e65269bf95f8e9869dde4d07cd5850 (patch) | |
tree | f95120a28758d7a278fa6a960f2da0154f369fe0 /cc/test/fake_content_layer_client.cc | |
parent | 6c4e7b9bbcf3fce70895e932c8561bab887ff785 (diff) | |
download | chromium_src-7f4d26b8f1e65269bf95f8e9869dde4d07cd5850.zip chromium_src-7f4d26b8f1e65269bf95f8e9869dde4d07cd5850.tar.gz chromium_src-7f4d26b8f1e65269bf95f8e9869dde4d07cd5850.tar.bz2 |
cc: Chromify ContentLayer, Client, and test
R=danakj@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/12810003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_content_layer_client.cc')
-rw-r--r-- | cc/test/fake_content_layer_client.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/test/fake_content_layer_client.cc b/cc/test/fake_content_layer_client.cc index efbd4c3..cf82de6 100644 --- a/cc/test/fake_content_layer_client.cc +++ b/cc/test/fake_content_layer_client.cc @@ -15,10 +15,10 @@ FakeContentLayerClient::FakeContentLayerClient() FakeContentLayerClient::~FakeContentLayerClient() { } -void FakeContentLayerClient::paintContents(SkCanvas* canvas, - const gfx::Rect& rect, gfx::RectF& opaque_rect) { +void FakeContentLayerClient::PaintContents(SkCanvas* canvas, + gfx::Rect rect, gfx::RectF* opaque_rect) { if (paint_all_opaque_) - opaque_rect = rect; + *opaque_rect = rect; SkPaint paint; for (RectVector::const_iterator rect_it = draw_rects_.begin(); |