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

Unified Diff: Source/bindings/core/v8/WindowProxyManager.cpp

Issue 1110433002: Make Isolate as the first argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Compile error Created 5 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 | « Source/bindings/core/v8/WindowProxy.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/WindowProxyManager.cpp
diff --git a/Source/bindings/core/v8/WindowProxyManager.cpp b/Source/bindings/core/v8/WindowProxyManager.cpp
index 9d15b8b0da07328f4f1be69fe760ff5a475764ab..4ee62ee0ba798c34b0ca86c2ecccb2311de3a2fb 100644
--- a/Source/bindings/core/v8/WindowProxyManager.cpp
+++ b/Source/bindings/core/v8/WindowProxyManager.cpp
@@ -39,7 +39,7 @@ WindowProxy* WindowProxyManager::windowProxy(DOMWrapperWorld& world)
if (iter != m_isolatedWorlds.end()) {
windowProxy = iter->value.get();
} else {
- OwnPtrWillBeRawPtr<WindowProxy> isolatedWorldWindowProxy = WindowProxy::create(m_frame, world, m_isolate);
+ OwnPtrWillBeRawPtr<WindowProxy> isolatedWorldWindowProxy = WindowProxy::create(m_isolate, m_frame, world);
windowProxy = isolatedWorldWindowProxy.get();
m_isolatedWorlds.set(world.worldId(), isolatedWorldWindowProxy.release());
}
@@ -93,7 +93,7 @@ void WindowProxyManager::takeGlobalFrom(WindowProxyManager* other)
WindowProxyManager::WindowProxyManager(Frame& frame)
: m_frame(&frame)
, m_isolate(v8::Isolate::GetCurrent())
- , m_windowProxy(WindowProxy::create(&frame, DOMWrapperWorld::mainWorld(), m_isolate))
+ , m_windowProxy(WindowProxy::create(m_isolate, &frame, DOMWrapperWorld::mainWorld()))
{
}
« no previous file with comments | « Source/bindings/core/v8/WindowProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698