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

Unified Diff: include/core/SkData.h

Issue 25430005: Fix for potential typedef issue Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 | « include/core/SkComposeShader.h ('k') | include/core/SkDataSet.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 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. */
« no previous file with comments | « include/core/SkComposeShader.h ('k') | include/core/SkDataSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698