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

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

Issue 2764953002: WIP: Entry realm stack in Blink
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
index 8c526ddc3e6488b4beabc536932930fe04babae6..cd7c0288e9b2cd0f52f23d8891bd4ee16552b93e 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
@@ -725,8 +725,9 @@ LocalDOMWindow* toLocalDOMWindow(v8::Local<v8::Context> context) {
}
LocalDOMWindow* enteredDOMWindow(v8::Isolate* isolate) {
+ V8PerIsolateData* perIsolateData = V8PerIsolateData::from(isolate);
LocalDOMWindow* window =
- toLocalDOMWindow(isolate->GetEnteredOrMicrotaskContext());
+ toLocalDOMWindow(toDOMWindow(perIsolateData->entryContext()));
DCHECK(window);
return window;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698