diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 10:17:34 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 10:17:34 +0000 |
commit | 7aba66652cf8fe7e131d4638d00b574fc05526ee (patch) | |
tree | 0a1012dc37172ff9b276679c55d77c38c111f37a /cc/test/render_pass_test_utils.cc | |
parent | b2720f159750fd54728b7ec0b9da8baed9ec4a83 (diff) | |
download | chromium_src-7aba66652cf8fe7e131d4638d00b574fc05526ee.zip chromium_src-7aba66652cf8fe7e131d4638d00b574fc05526ee.tar.gz chromium_src-7aba66652cf8fe7e131d4638d00b574fc05526ee.tar.bz2 |
cc: Chromify Layer and LayerImpl classes.
Style-only change. Bring the Layer and LayerImpl classes
into the Chromium style.
R=enne,piman,jamesr
TBR=joth
Review URL: https://chromiumcodereview.appspot.com/12774006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_utils.cc')
-rw-r--r-- | cc/test/render_pass_test_utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc index 446fc4e..4c17edd 100644 --- a/cc/test/render_pass_test_utils.cc +++ b/cc/test/render_pass_test_utils.cc @@ -37,7 +37,7 @@ SolidColorDrawQuad* addQuad(TestRenderPass* pass, scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create(); quad->SetNew(sharedState, rect, color); SolidColorDrawQuad* quadPtr = quad.get(); - quadSink.append(quad.PassAs<DrawQuad>(), data); + quadSink.append(quad.PassAs<DrawQuad>(), &data); return quadPtr; } @@ -52,7 +52,7 @@ SolidColorDrawQuad* addClippedQuad(TestRenderPass* pass, scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create(); quad->SetNew(sharedState, rect, color); SolidColorDrawQuad* quadPtr = quad.get(); - quadSink.append(quad.PassAs<DrawQuad>(), data); + quadSink.append(quad.PassAs<DrawQuad>(), &data); return quadPtr; } @@ -68,7 +68,7 @@ void addRenderPassQuad(TestRenderPass* toPass, quad->SetNew(sharedState, outputRect, contributingPass->id, false, 0, outputRect, gfx::RectF(), WebKit::WebFilterOperations(), skia::RefPtr<SkImageFilter>(), WebKit::WebFilterOperations()); - quadSink.append(quad.PassAs<DrawQuad>(), data); + quadSink.append(quad.PassAs<DrawQuad>(), &data); } } // namespace cc |