Index: src/gpu/GrRectanizer_pow2.h |
diff --git a/src/gpu/GrRectanizer_pow2.h b/src/gpu/GrRectanizer_pow2.h |
index c2e45655f102eb344eae179e742fcbad0dbbd8a2..28c6f3fd54c4bed9eda1b4cdb4f607bf6090fb80 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" |
class GrRectanizerPow2 : public GrRectanizer { |
public: |
@@ -24,7 +25,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()); |
@@ -34,7 +35,7 @@ private: |
static const int kMIN_HEIGHT_POW2 = 2; |
struct Row { |
- GrIPoint16 fLoc; |
+ SkIPoint16 fLoc; |
int fRowHeight; |
bool canAddWidth(int width, int containerWidth) const { |