Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: src/core/SkPictureFlat.h

Issue 91453002: Speed up GrResourceCache add and lookup by using TDynamicHash (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkScaledImageCache.cpp » ('j') | src/core/SkTDynamicHash.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureFlat.h
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h
index ac8e304c0f2c3031885efb09e47d5a6fe00d4913..bda71e2259873d8f9e3664fd460df1b87d575e33 100644
--- a/src/core/SkPictureFlat.h
+++ b/src/core/SkPictureFlat.h
@@ -425,7 +425,7 @@ public:
fIndexedData[flat->index()] = flat;
// findAndReturnMutableFlat already called fHash.add(), so we just clean up the old entry.
- fHash.remove(*found);
+ fHash.remove(found);
fController->unalloc((void*)found);
SkASSERT(this->count() == oldCount);
« no previous file with comments | « no previous file | src/core/SkScaledImageCache.cpp » ('j') | src/core/SkTDynamicHash.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698