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

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

Issue 2050463003: Check if Member owner thread matches pointer thread and current thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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/ThreadState.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/platform/heap/WrapperVisitor.h
diff --git a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
index a8348bde358dee20dd57ff80c744b73b38c344d3..f70edd88ef3f79f046a14a13e97a91896adf3533 100644
--- a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
+++ b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
@@ -115,6 +115,12 @@ public:
traceWrappers(t.get());
}
+ template<typename T>
+ void traceWrappers(const WeakMember<T>& t) const
+ {
+ traceWrappers(t.get());
+ }
+
virtual void traceWrappers(const ScopedPersistent<v8::Value>* persistent) const = 0;
virtual void traceWrappers(const ScopedPersistent<v8::Object>* persistent) const = 0;
virtual void markWrapper(const v8::PersistentBase<v8::Object>* persistent) const = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698