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

Unified Diff: cc/layers/ui_resource_layer_impl_unittest.cc

Issue 93663004: [#2] Pass gfx structs by const ref (gfx::Rect, gfx::RectF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT, fix builds on non-linux platforms! Created 6 years, 11 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/layers/tiled_layer_unittest.cc ('k') | cc/output/copy_output_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/ui_resource_layer_impl_unittest.cc
diff --git a/cc/layers/ui_resource_layer_impl_unittest.cc b/cc/layers/ui_resource_layer_impl_unittest.cc
index 4a2a1164182a602e385c82bde2cd7a4e6f236364..4c55f1d4c4c4b8eb37d7c0fbb5c1f0d2e3e72119 100644
--- a/cc/layers/ui_resource_layer_impl_unittest.cc
+++ b/cc/layers/ui_resource_layer_impl_unittest.cc
@@ -89,7 +89,7 @@ TEST(UIResourceLayerImplTest, VerifyDrawQuads) {
}
void OpaqueBoundsTest(scoped_ptr<UIResourceLayerImpl> layer,
- gfx::Rect expected_opaque_bounds) {
+ const gfx::Rect& expected_opaque_bounds) {
MockQuadCuller quad_culler;
AppendQuadsData data;
layer->AppendQuads(&quad_culler, &data);
« no previous file with comments | « cc/layers/tiled_layer_unittest.cc ('k') | cc/output/copy_output_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698