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

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

Issue 2808093002: v8binding: Removes WindowProxy::GlobalDetachmentBehavior. (Closed)
Patch Set: Created 3 years, 8 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 | « third_party/WebKit/Source/bindings/core/v8/WindowProxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
index 350dfce327c3cc6971e8ba7e64535fba637adb3b..3689332d368b76c2f4e6f12fce1fd1fc9f2a01e6 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
@@ -62,11 +62,11 @@ WindowProxy::WindowProxy(v8::Isolate* isolate,
lifecycle_(Lifecycle::kContextIsUninitialized) {}
void WindowProxy::ClearForClose() {
- DisposeContext(kDoNotDetachGlobal);
+ DisposeContext(Lifecycle::kFrameIsDetached);
}
void WindowProxy::ClearForNavigation() {
- DisposeContext(kDetachGlobal);
+ DisposeContext(Lifecycle::kGlobalObjectIsDetached);
}
v8::Local<v8::Object> WindowProxy::GlobalProxyIfNotDetached() {
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698