| Index: cc/priority_calculator.h
|
| diff --git a/cc/priority_calculator.h b/cc/priority_calculator.h
|
| index 761b6d5b97e3183cb0892f083a2b2b170db63ef6..2b39fdc6d2ed3a8bd8254e9f38a9077aa9fc687c 100644
|
| --- a/cc/priority_calculator.h
|
| +++ b/cc/priority_calculator.h
|
| @@ -5,8 +5,9 @@
|
| #ifndef CCPriorityCalculator_h
|
| #define CCPriorityCalculator_h
|
|
|
| -#include "IntRect.h"
|
| -#include "IntSize.h"
|
| +namespace gfx {
|
| +class Rect;
|
| +}
|
|
|
| namespace cc {
|
|
|
| @@ -16,7 +17,7 @@ public:
|
| static int visiblePriority(bool drawsToRootSurface);
|
| static int renderSurfacePriority();
|
| static int lingeringPriority(int previousPriority);
|
| - static int priorityFromDistance(const IntRect& visibleRect, const IntRect& textureRect, bool drawsToRootSurface);
|
| + static int priorityFromDistance(const gfx::Rect& visibleRect, const gfx::Rect& textureRect, bool drawsToRootSurface);
|
| static int smallAnimatedLayerMinPriority();
|
|
|
| static int highestPriority();
|
|
|