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

Unified Diff: include/core/SkTypes.h

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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/SkStream.h ('k') | include/core/SkWeakRefCnt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTypes.h
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 39923c59b758611abe7855e33c335bd30629692e..3f4bc2cf34c619ea8b14c5afd265658d0f47212c 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -73,7 +73,7 @@ static inline void sk_bzero(void* buffer, size_t size) {
///////////////////////////////////////////////////////////////////////////////
-#ifdef SK_OVERRIDE_GLOBAL_NEW
+#ifdef override_GLOBAL_NEW
#include <new>
inline void* operator new(size_t size) {
@@ -138,7 +138,7 @@ inline void operator delete(void* p) {
#define SK_TO_STRING_NONVIRT() void toString(SkString* str) const;
#define SK_TO_STRING_VIRT() virtual void toString(SkString* str) const;
#define SK_TO_STRING_PUREVIRT() virtual void toString(SkString* str) const = 0;
- #define SK_TO_STRING_OVERRIDE() void toString(SkString* str) const SK_OVERRIDE;
+ #define SK_TO_STRING_OVERRIDE() void toString(SkString* str) const override;
#endif
template <bool>
« no previous file with comments | « include/core/SkStream.h ('k') | include/core/SkWeakRefCnt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698