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

Unified Diff: include/core/SkData.h

Issue 306943003: SkLazyPtr, mk. 2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: drop static Created 6 years, 7 months 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 | include/core/SkXfermode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkData.h
diff --git a/include/core/SkData.h b/include/core/SkData.h
index bee0fcdfa2860b6008e7f5ba790209e9a2c4f720..fba2846c7045fccfaf3faeaee056bfc3830df952 100644
--- a/include/core/SkData.h
+++ b/include/core/SkData.h
@@ -137,7 +137,8 @@ private:
virtual ~SkData();
// Called the first time someone calls NewEmpty to initialize the singleton.
- static void NewEmptyImpl(int/*unused*/);
+ static SkData* NewEmptyImpl();
+ static void DeleteEmpty(SkData*);
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « no previous file | include/core/SkXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698