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

Unified Diff: include/core/SkData.h

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: New serialization method Created 7 years, 3 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
Index: include/core/SkData.h
diff --git a/include/core/SkData.h b/include/core/SkData.h
index 6f883c884387480a305ede19bf1ff8556e5d1652..1c01f383fcb344b478b792dfd55b788ff8c6e052 100644
--- a/include/core/SkData.h
+++ b/include/core/SkData.h
@@ -21,6 +21,8 @@ struct SkFILE;
* to always be the same for the life of this instance.
*/
class SK_API SkData : public SkFlattenable {
+ typedef SkFlattenable INHERITED;
+
public:
SK_DECLARE_INST_COUNT(SkData)
@@ -141,8 +143,6 @@ private:
SkData(const void* ptr, size_t size, ReleaseProc, void* context);
virtual ~SkData();
-
- typedef SkFlattenable INHERITED;
};
/** Typedef of SkAutoTUnref<SkData> for automatically unref-ing a SkData. */

Powered by Google App Engine
This is Rietveld 408576698