| Index: cc/output/filter_operation.h
|
| diff --git a/cc/output/filter_operation.h b/cc/output/filter_operation.h
|
| index 7b482425193d1aea52ab49581e4a2aad0797b79c..4e51f3c51b20af942f5a155d9c953f046ed43bc4 100644
|
| --- a/cc/output/filter_operation.h
|
| +++ b/cc/output/filter_operation.h
|
| @@ -113,7 +113,7 @@ class CC_EXPORT FilterOperation {
|
| return FilterOperation(BLUR, amount);
|
| }
|
|
|
| - static FilterOperation CreateDropShadowFilter(gfx::Point offset,
|
| + static FilterOperation CreateDropShadowFilter(const gfx::Point& offset,
|
| float std_deviation,
|
| SkColor color) {
|
| return FilterOperation(DROP_SHADOW, offset, std_deviation, color);
|
| @@ -155,7 +155,7 @@ class CC_EXPORT FilterOperation {
|
| amount_ = amount;
|
| }
|
|
|
| - void set_drop_shadow_offset(gfx::Point offset) {
|
| + void set_drop_shadow_offset(const gfx::Point& offset) {
|
| DCHECK_EQ(type_, DROP_SHADOW);
|
| drop_shadow_offset_ = offset;
|
| }
|
| @@ -197,7 +197,7 @@ class CC_EXPORT FilterOperation {
|
| FilterOperation(FilterType type, float amount);
|
|
|
| FilterOperation(FilterType type,
|
| - gfx::Point offset,
|
| + const gfx::Point& offset,
|
| float stdDeviation,
|
| SkColor color);
|
|
|
|
|