| Index: cc/resources/priority_calculator.cc
|
| diff --git a/cc/resources/priority_calculator.cc b/cc/resources/priority_calculator.cc
|
| index fe5741c30e908470e1eb2c1c21f00b18fadb68bc..2a0cd189da1e14cb8b348dc807ef3e02a286da54 100644
|
| --- a/cc/resources/priority_calculator.cc
|
| +++ b/cc/resources/priority_calculator.cc
|
| @@ -69,8 +69,8 @@ int PriorityCalculator::LingeringPriority(int previous_priority) {
|
| }
|
|
|
| // static
|
| -int PriorityCalculator::PriorityFromDistance(gfx::Rect visible_rect,
|
| - gfx::Rect texture_rect,
|
| +int PriorityCalculator::PriorityFromDistance(const gfx::Rect& visible_rect,
|
| + const gfx::Rect& texture_rect,
|
| bool draws_to_root_surface) {
|
| int distance = visible_rect.ManhattanInternalDistance(texture_rect);
|
| if (!distance)
|
|
|