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

Unified Diff: cc/output/direct_renderer.h

Issue 132163009: [#6]Pass gfx structs by const ref (gfx::Vector2d) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 4a447aaf1f2af4e4827b8df1587c1c035ce0771c..747b4ef08d703bb4dcbcb92089d1bf704d77755c 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -59,7 +59,7 @@ class CC_EXPORT DirectRenderer : public Renderer {
bool disable_picture_quad_image_filtering;
};
- void SetEnlargePassTextureAmountForTesting(gfx::Vector2d amount);
+ void SetEnlargePassTextureAmountForTesting(const gfx::Vector2d& amount);
protected:
DirectRenderer(RendererClient* client,

Powered by Google App Engine
This is Rietveld 408576698