aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-04-24 11:10:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-24 11:10:51 -0700
commit91df6c273a310479af7c1c97e38cb0752d401cc6 (patch)
tree2e387ee49f04bc1b5c9e3844845dffe58597f9ad
parentc9aec1ee9bd6c78af1460d61a76be421a92efacf (diff)
Fix some lingering typos
-rw-r--r--include/core/SkPicture.h8
-rw-r--r--include/core/SkTDArray.h2
-rw-r--r--src/core/SkReadBuffer.h2
-rw-r--r--src/effects/SkBitmapSource.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index a565e415eb..2d782a50c8 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -261,10 +261,10 @@ private:
// Takes ownership of the SkRecord and (optional) SnapshotArray, refs the (optional) BBH.
SkPicture(const SkRect& cullRect,
- SkRecord*,
- SnapshotArray*,
- SkBBoxHierarchy*,
- size_t approxBytesUsedBySubPictures);
+ SkRecord*,
+ SnapshotArray*,
+ SkBBoxHierarchy*,
+ size_t approxBytesUsedBySubPictures);
static SkPicture* Forwardport(const SkPictInfo&, const SkPictureData*);
static SkPictureData* Backport(const SkRecord&, const SkPictInfo&,
diff --git a/include/core/SkTDArray.h b/include/core/SkTDArray.h
index 31a11c7f3e..337b6fdc4f 100644
--- a/include/core/SkTDArray.h
+++ b/include/core/SkTDArray.h
@@ -136,7 +136,7 @@ public:
* Sets the number of elements in the array.
* If the array does not have space for count elements, it will increase
* the storage allocated to some amount greater than that required.
- * It will never shrink the shrink the storage.
+ * It will never shrink the storage.
*/
void setCount(int count) {
SkASSERT(count >= 0);
diff --git a/src/core/SkReadBuffer.h b/src/core/SkReadBuffer.h
index f00993819c..1299edaf82 100644
--- a/src/core/SkReadBuffer.h
+++ b/src/core/SkReadBuffer.h
@@ -56,7 +56,7 @@ public:
kPictureImageFilterResolution_Version = 38,
kPictureImageFilterLevel_Version = 39,
kImageFilterNoUniqueID_Version = 40,
- kBitmapourceFilterQuality_Version = 41
+ kBitmapSourceFilterQuality_Version = 41
};
/**
diff --git a/src/effects/SkBitmapSource.cpp b/src/effects/SkBitmapSource.cpp
index 2624229aee..ed9521fd2c 100644
--- a/src/effects/SkBitmapSource.cpp
+++ b/src/effects/SkBitmapSource.cpp
@@ -33,7 +33,7 @@ SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap,
SkFlattenable* SkBitmapSource::CreateProc(SkReadBuffer& buffer) {
SkFilterQuality filterQuality;
- if (buffer.isVersionLT(SkReadBuffer::kBitmapourceFilterQuality_Version)) {
+ if (buffer.isVersionLT(SkReadBuffer::kBitmapSourceFilterQuality_Version)) {
filterQuality = kHigh_SkFilterQuality;
} else {
filterQuality = (SkFilterQuality)buffer.readInt();