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

Unified Diff: include/core/SkAnnotation.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 | « no previous file | include/core/SkColorFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkAnnotation.h
diff --git a/include/core/SkAnnotation.h b/include/core/SkAnnotation.h
index 18ee1cd1a65993eaf2cdf5f203bfd7fe455b7a6b..d699ea156a3b67486381b7fc105703e05a739211 100644
--- a/include/core/SkAnnotation.h
+++ b/include/core/SkAnnotation.h
@@ -21,6 +21,8 @@ struct SkPoint;
* Use helper functions at the bottom of this file for now.
*/
class SkAnnotation : public SkFlattenable {
+ typedef SkFlattenable INHERITED;
+
public:
enum Flags {
// If set, the associated drawing primitive should not be drawn
@@ -52,8 +54,6 @@ private:
void writeToStream(SkWStream*) const;
void readFromStream(SkStream*);
-
- typedef SkFlattenable INHERITED;
};
/**
« no previous file with comments | « no previous file | include/core/SkColorFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698