aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleRectanizer.cpp
diff options
context:
space:
mode:
authorrobertphillips <robertphillips@google.com>2014-06-02 10:20:14 -0700
committerCommit bot <commit-bot@chromium.org>2014-06-02 10:20:15 -0700
commitd537341e16524d1e22ac5e6c8b9c8f274ba1833c (patch)
treed33b25af48d42a4e9ef93e57ab37b5aca82bbe65 /samplecode/SampleRectanizer.cpp
parent78358bf624c7e7c09ffccf638c50870808d884d6 (diff)
Move GrIPoint16 to SkIPoint16 (and remove GrPoint.h)
R=bsalomon@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/309683002
Diffstat (limited to 'samplecode/SampleRectanizer.cpp')
-rw-r--r--samplecode/SampleRectanizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleRectanizer.cpp b/samplecode/SampleRectanizer.cpp
index fcb1cdb18e..691f57ada4 100644
--- a/samplecode/SampleRectanizer.cpp
+++ b/samplecode/SampleRectanizer.cpp
@@ -40,7 +40,7 @@ public:
GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)),
GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)));
*fRects[2].append() = SkISize::Make(128, 128);
- *fRectLocations.append() = GrIPoint16::Make(0, 0);
+ *fRectLocations.append() = SkIPoint16::Make(0, 0);
}
fCurRects = &fRects[0];
@@ -142,7 +142,7 @@ private:
int fCurRandRect;
SkTDArray<SkISize> fRects[3];
SkTDArray<SkISize>* fCurRects;
- SkTDArray<GrIPoint16> fRectLocations;
+ SkTDArray<SkIPoint16> fRectLocations;
GrRectanizer* fRectanizers[2];
GrRectanizer* fCurRectanizer;