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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h

Issue 1876383003: Introduce infrastructure for tracing ScriptWrappables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use newer v8 api 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/bindings/core/v8/DOMDataStore.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h b/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h
index 62484cd14861a310549c7111a919b2e2a084a0b8..7cdc70cb3d1f6a94c7fb00ea59ec2f6ecbf5543c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h
+++ b/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h
@@ -153,6 +153,11 @@ public:
return m_wrapperMap->newLocal(isolate, object);
}
+ void markWrapper(ScriptWrappable* scriptWrappable, v8::Isolate* isolate)
haraken 2016/04/19 04:58:30 Remove the isolate parameter.
Marcel Hlopko 2016/04/19 12:40:29 Done.
+ {
+ m_wrapperMap->markWrapper(scriptWrappable);
+ }
+
void setReference(const v8::Persistent<v8::Object>& parent, ScriptWrappable* child, v8::Isolate* isolate)
{
if (m_isMainWorld) {

Powered by Google App Engine
This is Rietveld 408576698