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

Unified Diff: cc/output/render_surface_filters.cc

Issue 139173004: [#3] Pass gfx structs by const ref (gfx::SizeF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT and fixed build error for Android platform! 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/output/render_surface_filters.h ('k') | cc/quads/yuv_video_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/render_surface_filters.cc
diff --git a/cc/output/render_surface_filters.cc b/cc/output/render_surface_filters.cc
index e10ea885e7feead35a259d4138fbdc1eb1ddee22..bc13b5eae715997751ac7d545adbd027a7bc839e 100644
--- a/cc/output/render_surface_filters.cc
+++ b/cc/output/render_surface_filters.cc
@@ -160,7 +160,7 @@ skia::RefPtr<SkImageFilter> CreateMatrixImageFilter(
skia::RefPtr<SkImageFilter> RenderSurfaceFilters::BuildImageFilter(
const FilterOperations& filters,
- gfx::SizeF size) {
+ const gfx::SizeF& size) {
skia::RefPtr<SkImageFilter> image_filter;
SkScalar matrix[20];
for (size_t i = 0; i < filters.size(); ++i) {
« no previous file with comments | « cc/output/render_surface_filters.h ('k') | cc/quads/yuv_video_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698