Index: third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
index 0d099ccade7b45cb3ee7e2b38107e2ec856cc787..b144754b892fdd449bc539a59eb3a38c9cb05a5f 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp |
@@ -449,7 +449,9 @@ void V8GCController::gcEpilogue(v8::Isolate* isolate, |
void V8GCController::collectGarbage(v8::Isolate* isolate, bool onlyMinorGC) { |
v8::HandleScope handleScope(isolate); |
RefPtr<ScriptState> scriptState = ScriptState::create( |
- v8::Context::New(isolate), DOMWrapperWorld::create(isolate)); |
+ v8::Context::New(isolate), |
+ DOMWrapperWorld::create(isolate, |
+ DOMWrapperWorld::WorldType::GarbageCollector)); |
ScriptState::Scope scope(scriptState.get()); |
StringBuilder builder; |
builder.append("if (gc) gc("); |