| 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 bda519f1a5bd71f0ca1c1013e4219186aa5a134b..4e89f5bc59a760087db2a9a079bfd055150797dc 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
|
| @@ -63,11 +63,15 @@ WindowProxy::WindowProxy(v8::Isolate* isolate,
|
| lifecycle_(Lifecycle::kContextIsUninitialized) {}
|
|
|
| void WindowProxy::ClearForClose() {
|
| - DisposeContext(Lifecycle::kFrameIsDetached);
|
| + DisposeContext(Lifecycle::kFrameIsDetached, kFrameWillNotBeReused);
|
| }
|
|
|
| void WindowProxy::ClearForNavigation() {
|
| - DisposeContext(Lifecycle::kGlobalObjectIsDetached);
|
| + DisposeContext(Lifecycle::kGlobalObjectIsDetached, kFrameWillBeReused);
|
| +}
|
| +
|
| +void WindowProxy::ClearForSwap() {
|
| + DisposeContext(Lifecycle::kGlobalObjectIsDetached, kFrameWillNotBeReused);
|
| }
|
|
|
| v8::Local<v8::Object> WindowProxy::GlobalProxyIfNotDetached() {
|
|
|