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

Unified Diff: cc/output/render_surface_filters.h

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/layers/layer_impl_unittest.cc ('k') | cc/output/render_surface_filters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/render_surface_filters.h
diff --git a/cc/output/render_surface_filters.h b/cc/output/render_surface_filters.h
index 09d0f732a03b795fde5ef4cbc36cac57152161a3..42b6e451501412ed46bbedd28f444eb7b3743884 100644
--- a/cc/output/render_surface_filters.h
+++ b/cc/output/render_surface_filters.h
@@ -26,13 +26,13 @@ class CC_EXPORT RenderSurfaceFilters {
public:
static SkBitmap Apply(const FilterOperations& filters,
unsigned texture_id,
- gfx::SizeF size,
+ const gfx::SizeF& size,
GrContext* gr_context);
static FilterOperations Optimize(const FilterOperations& filters);
static skia::RefPtr<SkImageFilter> BuildImageFilter(
const FilterOperations& filters,
- gfx::SizeF size);
+ const gfx::SizeF& size);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(RenderSurfaceFilters);
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/output/render_surface_filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698