diff options
Diffstat (limited to 'cc/resources/priority_calculator.h')
-rw-r--r-- | cc/resources/priority_calculator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/priority_calculator.h b/cc/resources/priority_calculator.h index 8778961..502bd27 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(); |