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

Unified Diff: third_party/WebKit/Source/platform/heap/Member.h

Issue 2065443002: Rename and improve "traceable" templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment rewording Created 4 years, 6 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: third_party/WebKit/Source/platform/heap/Member.h
diff --git a/third_party/WebKit/Source/platform/heap/Member.h b/third_party/WebKit/Source/platform/heap/Member.h
index e2858c7dfc2b99eb6bd2aa7dd336d11e3ef14c28..0c8c9f7760fe227219c01554c84d816c519c3e38 100644
--- a/third_party/WebKit/Source/platform/heap/Member.h
+++ b/third_party/WebKit/Source/platform/heap/Member.h
@@ -311,8 +311,8 @@ struct DefaultHash<blink::UntracedMember<T>> {
};
template<typename T>
-struct NeedsTracing<blink::Member<T>> {
- STATIC_ONLY(NeedsTracing);
+struct IsTraceable<blink::Member<T>> {
+ STATIC_ONLY(IsTraceable);
static const bool value = true;
};
@@ -322,6 +322,12 @@ struct IsWeak<blink::WeakMember<T>> {
static const bool value = true;
};
+template<typename T>
+struct IsTraceable<blink::WeakMember<T>> {
+ STATIC_ONLY(IsTraceable);
+ static const bool value = true;
+};
+
} // namespace WTF
#endif // Member_h

Powered by Google App Engine
This is Rietveld 408576698