aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 07:01:23 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 07:01:23 +0000
commit0f12e1fe42245a30c5dae856b600803aabbf137b (patch)
treeef93e04c6b60ad289a7f66efdda4ea93deb5be8f /src
parent7d3451b1844d8f93892f032bc060212f17173214 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8061 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/core/SkPictureFlat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h
index 4581626b70..2d44e1ea6f 100644
--- a/src/core/SkPictureFlat.h
+++ b/src/core/SkPictureFlat.h
@@ -404,16 +404,16 @@ public:
fNextIndex = 1;
sk_bzero(fHash, sizeof(fHash));
// index 0 is always empty since it is used as a signal that find failed
- fIndexedData.push(NULL);
+ fIndexedData.push(NULL);
}
virtual ~SkFlatDictionary() {
fController->unref();
}
- int count() const {
+ int count() const {
SkASSERT(fIndexedData.count() == fSortedData.count()+1);
- return fSortedData.count();
+ return fSortedData.count();
}
const SkFlatData* operator[](int index) const {
@@ -563,7 +563,7 @@ private:
void unflattenIntoArray(T* array) const {
const int count = fSortedData.count();
- SkASSERT(fIndexedData.count() == fSortedData.count()+1);
+ SkASSERT(fIndexedData.count() == fSortedData.count()+1);
const SkFlatData* const* iter = fSortedData.begin();
for (int i = 0; i < count; ++i) {
const SkFlatData* element = iter[i];
@@ -576,7 +576,7 @@ private:
SkFlatController * const fController;
int fNextIndex;
- // SkFlatDictionary has two copies of the data one indexed by the
+ // SkFlatDictionary has two copies of the data one indexed by the
// SkFlatData's index and the other sorted. The sorted data is used
// for finding and uniquification while the indexed copy is used
// for standard array-style lookups based on the SkFlatData's index