diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 07:40:40 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 07:40:40 +0000 |
commit | d002dd073e451b18c424d562ff39b0b9b85120bb (patch) | |
tree | 74b90397c6fb87d633901d26fc6806fa3bbd2d9c /cc/output/delegating_renderer_unittest.cc | |
parent | c0964de86a35e27961686007eded67672bcf5306 (diff) | |
download | chromium_src-d002dd073e451b18c424d562ff39b0b9b85120bb.zip chromium_src-d002dd073e451b18c424d562ff39b0b9b85120bb.tar.gz chromium_src-d002dd073e451b18c424d562ff39b0b9b85120bb.tar.bz2 |
cc: Convert non-const reference arguments to pointers.
Style-only change. This is forbidden by the style guide.
R=jamesr
Review URL: https://chromiumcodereview.appspot.com/12912010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/delegating_renderer_unittest.cc')
-rw-r--r-- | cc/output/delegating_renderer_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/output/delegating_renderer_unittest.cc b/cc/output/delegating_renderer_unittest.cc index 988ab3c..e964c04 100644 --- a/cc/output/delegating_renderer_unittest.cc +++ b/cc/output/delegating_renderer_unittest.cc @@ -48,7 +48,7 @@ class DelegatingRendererTestDraw : public DelegatingRendererTest { OVERRIDE { EXPECT_EQ(0u, output_surface_->num_sent_frames()); - CompositorFrame& last_frame = output_surface_->last_sent_frame(); + const CompositorFrame& last_frame = output_surface_->last_sent_frame(); EXPECT_FALSE(last_frame.delegated_frame_data); EXPECT_FALSE(last_frame.gl_frame_data); EXPECT_EQ(0.f, last_frame.metadata.min_page_scale_factor); @@ -59,7 +59,7 @@ class DelegatingRendererTestDraw : public DelegatingRendererTest { virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { EXPECT_EQ(1u, output_surface_->num_sent_frames()); - CompositorFrame& last_frame = output_surface_->last_sent_frame(); + const CompositorFrame& last_frame = output_surface_->last_sent_frame(); DelegatedFrameData* last_frame_data = last_frame.delegated_frame_data.get(); ASSERT_TRUE(last_frame.delegated_frame_data); EXPECT_FALSE(last_frame.gl_frame_data); @@ -116,7 +116,7 @@ class DelegatingRendererTestResources : public DelegatingRendererTest { virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { EXPECT_EQ(1u, output_surface_->num_sent_frames()); - CompositorFrame& last_frame = output_surface_->last_sent_frame(); + const CompositorFrame& last_frame = output_surface_->last_sent_frame(); ASSERT_TRUE(last_frame.delegated_frame_data); EXPECT_EQ(2u, last_frame.delegated_frame_data->render_pass_list.size()); |