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

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

Issue 2599643004: Remove unwanted declaration of storage for NeedsAdjustAndMark<>. (Closed)
Patch Set: Created 4 years 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 | third_party/WebKit/Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/GarbageCollected.h
diff --git a/third_party/WebKit/Source/platform/heap/GarbageCollected.h b/third_party/WebKit/Source/platform/heap/GarbageCollected.h
index e814c8c0d1a0b3a518b12577051c49a1fc7a0c34..ee8f78153246dee898b047b7575628b4639ec276 100644
--- a/third_party/WebKit/Source/platform/heap/GarbageCollected.h
+++ b/third_party/WebKit/Source/platform/heap/GarbageCollected.h
@@ -290,8 +290,6 @@ class NeedsAdjustAndMark<T, true> {
public:
static const bool value = false;
};
-template <typename T>
-const bool NeedsAdjustAndMark<T, true>::value;
template <typename T>
class NeedsAdjustAndMark<T, false> {
@@ -301,8 +299,6 @@ class NeedsAdjustAndMark<T, false> {
static const bool value =
IsGarbageCollectedMixin<typename std::remove_const<T>::type>::value;
};
-template <typename T>
-const bool NeedsAdjustAndMark<T, false>::value;
template <typename T,
bool = std::is_base_of<TraceWrapperBase,
@@ -316,8 +312,6 @@ class CanTraceWrappers<T, true> {
public:
static const bool value = true;
};
-template <typename T>
-const bool CanTraceWrappers<T, true>::value;
template <typename T>
class CanTraceWrappers<T, false> {
@@ -326,8 +320,6 @@ class CanTraceWrappers<T, false> {
public:
static const bool value = false;
};
-template <typename T>
-const bool CanTraceWrappers<T, false>::value;
// TODO(sof): migrate to wtf/TypeTraits.h
template <typename T>
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698