| Index: cc/resources/priority_calculator.h
|
| diff --git a/cc/resources/priority_calculator.h b/cc/resources/priority_calculator.h
|
| index 877896176b835d6d88a40416dd95f2ed7384b36e..502bd2734f8c7a7e127ea6feb7c3857a782bda0c 100644
|
| --- a/cc/resources/priority_calculator.h
|
| +++ b/cc/resources/priority_calculator.h
|
| @@ -20,8 +20,8 @@ class CC_EXPORT PriorityCalculator {
|
| static int VisiblePriority(bool draws_to_root_surface);
|
| static int RenderSurfacePriority();
|
| static int LingeringPriority(int previous_priority);
|
| - static int PriorityFromDistance(gfx::Rect visible_rect,
|
| - gfx::Rect texture_rect,
|
| + static int PriorityFromDistance(const gfx::Rect& visible_rect,
|
| + const gfx::Rect& texture_rect,
|
| bool draws_to_root_surface);
|
| static int SmallAnimatedLayerMinPriority();
|
|
|
|
|