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

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

Issue 2609883003: [wrapper-tracing] Avoid firing the write barrier after TraceEpilogue (Closed)
Patch Set: Fix tests: Wrap testing code with TracePrologue and AbortTracing Created 3 years, 12 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/ScriptWrappableVisitorVerifier.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h
index c840a7b42ed5df934b9b47c08ecdc16424294a0d..4706b0dac75fab03ed96b60da2c0b8ecab83268d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h
@@ -36,7 +36,7 @@ class ScriptWrappableVisitorVerifier : public WrapperVisitor {
}
void markWrapper(const v8::PersistentBase<v8::Value>*) const override {}
- void pushToMarkingDeque(
+ bool pushToMarkingDeque(
void (*traceWrappersCallback)(const WrapperVisitor*, const void*),
HeapObjectHeader* (*heapObjectHeaderCallback)(const void*),
const void* object) const override {
@@ -54,6 +54,7 @@ class ScriptWrappableVisitorVerifier : public WrapperVisitor {
NOTREACHED();
}
traceWrappersCallback(this, object);
+ return true;
}
bool markWrapperHeader(HeapObjectHeader* header) const override {

Powered by Google App Engine
This is Rietveld 408576698