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

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

Issue 2609383002: [wrapper-tracing] Simplify tracing and reduce technical debt (Closed)
Patch Set: Rebase on master after landing dep Created 3 years, 11 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/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 a3e2680c2a80ede4f859a7c01088ae2379c99f1a..0cfb99f9a7bf48fbdcab9b2d3c77f266887ccfa7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp
@@ -189,9 +189,8 @@ TEST(ScriptWrappableVisitorTest, OilpanClearsMarkingDequeWhenObjectDied) {
ScriptWrappableVisitor* visitor =
V8PerIsolateData::from(scope.isolate())->scriptWrappableVisitor();
visitor->TracePrologue();
- visitor->pushToMarkingDeque(
- TraceTrait<DeathAwareScriptWrappable>::markAndTraceWrapper,
- TraceTrait<DeathAwareScriptWrappable>::heapObjectHeader, object);
+
+ visitor->markAndPushToMarkingDeque(object);
EXPECT_EQ(visitor->getMarkingDeque()->first().rawObjectPointer(), object);

Powered by Google App Engine
This is Rietveld 408576698