X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcc%2Ftest%2Ftiled_layer_test_common.cc;h=a0dbfc775e3fd695da26ed7d7864cba921186604;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=6dddfd33888dedf1baf6fe461529449bddd9487c;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/cc/test/tiled_layer_test_common.cc b/src/cc/test/tiled_layer_test_common.cc index 6dddfd3..a0dbfc7 100644 --- a/src/cc/test/tiled_layer_test_common.cc +++ b/src/cc/test/tiled_layer_test_common.cc @@ -17,7 +17,7 @@ FakeLayerUpdater::Resource::~Resource() {} void FakeLayerUpdater::Resource::Update(ResourceUpdateQueue* queue, const gfx::Rect& source_rect, - gfx::Vector2d dest_offset, + const gfx::Vector2d& dest_offset, bool partial_update) { const gfx::Rect kRect(0, 0, 10, 10); ResourceUpdate upload = ResourceUpdate::Create( @@ -35,7 +35,7 @@ FakeLayerUpdater::FakeLayerUpdater() : prepare_count_(0), update_count_(0) {} FakeLayerUpdater::~FakeLayerUpdater() {} void FakeLayerUpdater::PrepareToUpdate(const gfx::Rect& content_rect, - gfx::Size tile_size, + const gfx::Size& tile_size, float contents_width_scale, float contents_height_scale, gfx::Rect* resulting_opaque_rect) { @@ -148,7 +148,7 @@ LayerUpdater* FakeTiledLayer::Updater() const { } void FakeTiledLayerWithScaledBounds::SetContentBounds( - gfx::Size content_bounds) { + const gfx::Size& content_bounds) { forced_content_bounds_ = content_bounds; draw_properties().content_bounds = forced_content_bounds_; }