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

Unified Diff: third_party/WebKit/Source/wtf/Functional.h

Issue 1923183002: Add support for IsGarbageCollectedType<void> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: auto-Rebase Created 4 years, 8 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 | « third_party/WebKit/Source/platform/heap/Handle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Functional.h
diff --git a/third_party/WebKit/Source/wtf/Functional.h b/third_party/WebKit/Source/wtf/Functional.h
index 8aa0a938b4c89222d325713df99b65a03465ee2b..43b97d6aeb84fd91e67b43ea015929ee5bfa6a87 100644
--- a/third_party/WebKit/Source/wtf/Functional.h
+++ b/third_party/WebKit/Source/wtf/Functional.h
@@ -214,14 +214,6 @@ struct ParamStorageTraits<RetainPtr<T>> {
static typename RetainPtr<T>::PtrType unwrap(const StorageType& value) { return value.get(); }
};
-template <>
-struct ParamStorageTraits<void*> {
- typedef void* StorageType;
-
- static StorageType wrap(void* value) { return value; }
- static void* unwrap(const StorageType& value) { return value; }
-};
-
template <typename T>
struct ParamStorageTraits<PassedWrapper<T>> {
typedef PassedWrapper<T> StorageType;
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Handle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698