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

Unified Diff: Source/platform/heap/Handle.h

Issue 633463002: Rename ObjectAliveTrait::isAlive() to isHeapObjectAlive(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | Source/platform/heap/Visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index 97067138df2424c47fba942a0301aabadba4d6bc..3c906762314b20262b82fc8a52e33b3e1096a3a4 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -57,16 +57,16 @@ struct IsGarbageCollectedMixin {
#if COMPILER(MSVC)
template<typename U> static TrueType hasAdjustAndMark(char[&U::adjustAndMark != 0]);
- template<typename U> static TrueType hasIsAlive(char[&U::isAlive != 0]);
+ template<typename U> static TrueType hasIsHeapObjectAlive(char[&U::isHeapObjectAlive != 0]);
#else
template<size_t> struct F;
template<typename U> static TrueType hasAdjustAndMark(F<sizeof(&U::adjustAndMark)>*);
- template<typename U> static TrueType hasIsAlive(F<sizeof(&U::isAlive)>*);
+ template<typename U> static TrueType hasIsHeapObjectAlive(F<sizeof(&U::isHeapObjectAlive)>*);
#endif
- template<typename U> static FalseType hasIsAlive(...);
+ template<typename U> static FalseType hasIsHeapObjectAlive(...);
template<typename U> static FalseType hasAdjustAndMark(...);
- static bool const value = (sizeof(TrueType) == sizeof(hasAdjustAndMark<T>(0))) && (sizeof(TrueType) == sizeof(hasIsAlive<T>(0)));
+ static bool const value = (sizeof(TrueType) == sizeof(hasAdjustAndMark<T>(0))) && (sizeof(TrueType) == sizeof(hasIsHeapObjectAlive<T>(0)));
};
template <typename T>
« no previous file with comments | « no previous file | Source/platform/heap/Visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698