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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp

Issue 2475733002: [wrapper-tracing] Remove uses of EmbedderReachableReferenceReporter (Closed)
Patch Set: Remove more dead code Created 4 years, 1 month 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/DOMWrapperWorld.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
index 9080babd3ac986d76bd3065f2a75a58ca519d961..6b00eed4e34da910697e460b44d855993c3b2d9a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp
@@ -141,8 +141,7 @@ void DOMWrapperWorld::allWorldsInMainThread(
void DOMWrapperWorld::markWrappersInAllWorlds(
ScriptWrappable* scriptWrappable,
- const ScriptWrappableVisitor* visitor,
- v8::EmbedderReachableReferenceReporter* reporter) {
+ const ScriptWrappableVisitor* visitor) {
// TODO(hlopko): Currently wrapper in one world will keep wrappers in all
// worlds alive (possibly holding on entire documents). This is neither
// needed (there is no way to get from one wrapper to another), nor wanted
@@ -157,7 +156,7 @@ void DOMWrapperWorld::markWrappersInAllWorlds(
DOMDataStore& dataStore = world->domDataStore();
if (dataStore.containsWrapper(scriptWrappable)) {
// Marking for the isolated worlds
- dataStore.markWrapper(reporter, scriptWrappable);
+ dataStore.markWrapper(scriptWrappable);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698