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

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

Issue 1915153004: [K5] Replace bind() + non-GC pointers with unretained() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Kuroneko_4
Patch Set: 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
Index: third_party/WebKit/Source/platform/heap/Handle.h
diff --git a/third_party/WebKit/Source/platform/heap/Handle.h b/third_party/WebKit/Source/platform/heap/Handle.h
index 5bb461a398bcc347679e630bb0eca854d258488d..de696ee02b3af5499264691fb6c09c4a2e512a42 100644
--- a/third_party/WebKit/Source/platform/heap/Handle.h
+++ b/third_party/WebKit/Source/platform/heap/Handle.h
@@ -1196,15 +1196,6 @@ template<typename T, bool isGarbageCollected> struct PointerParamStorageTraits;
// The condition of 'T must be fully defined' (except for void) is checked in
// blink::IsGarbageCollectedType<T>::value.
template<typename T>
-struct PointerParamStorageTraits<T*, false> {
- STATIC_ONLY(PointerParamStorageTraits);
- using StorageType = T*;
-
- static StorageType wrap(T* value) { return value; }
- static T* unwrap(const StorageType& value) { return value; }
-};
-
-template<typename T>
struct PointerParamStorageTraits<T*, true> {
STATIC_ONLY(PointerParamStorageTraits);
using StorageType = blink::CrossThreadPersistent<T>;

Powered by Google App Engine
This is Rietveld 408576698