Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1951)

Unified Diff: cc/priority_calculator.h

Issue 11264056: cc: Use gfx:: Geometry types for positions, bounds, and related things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some missed intstuff Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/priority_calculator.h
diff --git a/cc/priority_calculator.h b/cc/priority_calculator.h
index e8daa90d29905dbad0dc4fdd160dbab2501e58ba..7919aaefb2ded355e9d1f1103c4b17dbbd848c40 100644
--- a/cc/priority_calculator.h
+++ b/cc/priority_calculator.h
@@ -5,8 +5,7 @@
#ifndef CCPriorityCalculator_h
#define CCPriorityCalculator_h
-#include "IntRect.h"
-#include "IntSize.h"
+#include "ui/gfx/rect.h"
namespace cc {
@@ -16,7 +15,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();
« cc/layer_tiling_data.cc ('K') | « cc/overdraw_metrics.cc ('k') | cc/priority_calculator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698