Index: src/gpu/GrRectanizer_pow2.h |
diff --git a/src/gpu/GrRectanizer_pow2.h b/src/gpu/GrRectanizer_pow2.h |
index e9d9d02b0ac0a32268e03736bd9c50c441667688..7bf2b868c054caccf5265debc180e25bb2f04cac 100644 |
--- a/src/gpu/GrRectanizer_pow2.h |
+++ b/src/gpu/GrRectanizer_pow2.h |
@@ -9,6 +9,7 @@ |
#define GrRectanizer_pow2_DEFINED |
#include "GrRectanizer.h" |
+#include "SkPoint.h" |
// This Rectanizer quantizes the incoming rects to powers of 2. Each power |
// of two can have, at most, one active row/shelf. Once a row/shelf for |
@@ -29,7 +30,7 @@ public: |
sk_bzero(fRows, sizeof(fRows)); |
} |
- virtual bool addRect(int w, int h, GrIPoint16* loc) SK_OVERRIDE; |
+ virtual bool addRect(int w, int h, SkIPoint16* loc) SK_OVERRIDE; |
virtual float percentFull() const SK_OVERRIDE { |
return fAreaSoFar / ((float)this->width() * this->height()); |
@@ -40,7 +41,7 @@ private: |
static const int kMaxExponent = 16; |
struct Row { |
- GrIPoint16 fLoc; |
+ SkIPoint16 fLoc; |
// fRowHeight is actually known by this struct's position in fRows |
// but it is used to signal if there exists an open row of this height |
int fRowHeight; |