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

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

Issue 2735973006: Bindings: Separate WorldIdConstants into WorldTypes and WorldId (Closed)
Patch Set: address review comments Created 3 years, 9 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/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..2a791ab6bc217517daab55ac011b2f3c6c62145b 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
@@ -449,7 +449,8 @@ 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::Unknown));
ScriptState::Scope scope(scriptState.get());
StringBuilder builder;
builder.append("if (gc) gc(");

Powered by Google App Engine
This is Rietveld 408576698