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

Unified Diff: cc/test/pixel_test.h

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/test/occlusion_tracker_test_common.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test.h
diff --git a/cc/test/pixel_test.h b/cc/test/pixel_test.h
index 0835cdca94b5d55443fbc87d6e02fbd561f27e27..b6e024223b01af5d3c6bad98468a965de39d040b 100644
--- a/cc/test/pixel_test.h
+++ b/cc/test/pixel_test.h
@@ -61,7 +61,7 @@ class PixelTest : public testing::Test, RendererClient {
void ForceExpandedViewport(gfx::Size surface_expansion);
void ForceViewportOffset(gfx::Vector2d viewport_offset);
- void ForceDeviceClip(gfx::Rect clip);
+ void ForceDeviceClip(const gfx::Rect& clip);
void EnableExternalStencilTest();
// RendererClient implementation.
« no previous file with comments | « cc/test/occlusion_tracker_test_common.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698