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

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

Issue 2503043002: Reland "[wrapper-tracing] Enable flag per default" (Closed)
Patch Set: 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/ScriptWrappableVisitorTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp
index 87d977156751d3f4edeeadf7aa0a8acf9aea7979..d916c6c46ed6ed4674f4c450280ae61725a44951 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp
@@ -317,7 +317,8 @@ class InterceptingScriptWrappableVisitor
virtual void markWrapper(const v8::PersistentBase<v8::Value>* handle) const {
*m_markedWrappers += 1;
- ScriptWrappableVisitor::markWrapper(handle);
+ // Do not actually mark this visitor, as this would call into v8, which
+ // would require executing an actual GC.
}
size_t numberOfMarkedWrappers() const { return *m_markedWrappers; }

Powered by Google App Engine
This is Rietveld 408576698