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

Unified Diff: third_party/WebKit/Source/web/WebFrame.cpp

Issue 2743653002: Make context initialization order deterministic in WebFrame::swap(). (Closed)
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
Index: third_party/WebKit/Source/web/WebFrame.cpp
diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp
index 59df86f0c71e8dce1b85eb387ee2e9d37f4e6b41..eb21ece7a87e62c54cfe3c99da70c19cdfe9d072 100644
--- a/third_party/WebKit/Source/web/WebFrame.cpp
+++ b/third_party/WebKit/Source/web/WebFrame.cpp
@@ -74,7 +74,7 @@ bool WebFrame::swap(WebFrame* frame) {
FrameOwner* owner = oldFrame->owner();
v8::HandleScope handleScope(v8::Isolate::GetCurrent());
- HashMap<DOMWrapperWorld*, v8::Local<v8::Object>> globals;
+ WindowProxyManagerBase::GlobalsVector globals;
oldFrame->getWindowProxyManager()->clearForNavigation();
oldFrame->getWindowProxyManager()->releaseGlobals(globals);

Powered by Google App Engine
This is Rietveld 408576698