diff options
Diffstat (limited to 'src/core/SkPathHeap.cpp')
-rw-r--r-- | src/core/SkPathHeap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPathHeap.cpp b/src/core/SkPathHeap.cpp index d71257d731..84ffb04b80 100644 --- a/src/core/SkPathHeap.cpp +++ b/src/core/SkPathHeap.cpp @@ -50,7 +50,7 @@ int SkPathHeap::append(const SkPath& path) { return fPaths.count(); } -SkPathHeap::LookupEntry::LookupEntry(const SkPath& path) +SkPathHeap::LookupEntry::LookupEntry(const SkPath& path) : fGenerationID(path.getGenerationID()), fStorageSlot(0) { } @@ -59,7 +59,7 @@ SkPathHeap::LookupEntry* SkPathHeap::addIfNotPresent(const SkPath& path) { int index = SkTSearch<const LookupEntry, LookupEntry::Less>( fLookupTable.begin(), fLookupTable.count(), - searchKey, + searchKey, sizeof(LookupEntry)); if (index < 0) { index = ~index; |