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

Unified Diff: cc/test/render_pass_test_utils.cc

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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/test/render_pass_test_utils.h ('k') | cc/test/scheduler_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/render_pass_test_utils.cc
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc
index e9614c4e0f2d4b4cb7219ac22cbfd36358e69c6d..94d0f648c440a38026a7507bb6c6ed46dcbdaa66 100644
--- a/cc/test/render_pass_test_utils.cc
+++ b/cc/test/render_pass_test_utils.cc
@@ -15,14 +15,14 @@
namespace cc {
-TestRenderPass* AddRenderPass(RenderPassList& pass_list,
+TestRenderPass* AddRenderPass(RenderPassList* pass_list,
RenderPass::Id id,
gfx::Rect output_rect,
const gfx::Transform& root_transform) {
scoped_ptr<TestRenderPass> pass(TestRenderPass::Create());
pass->SetNew(id, output_rect, output_rect, root_transform);
TestRenderPass* saved = pass.get();
- pass_list.push_back(pass.PassAs<RenderPass>());
+ pass_list->push_back(pass.PassAs<RenderPass>());
return saved;
}
« no previous file with comments | « cc/test/render_pass_test_utils.h ('k') | cc/test/scheduler_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698