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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp

Issue 2562323002: Devirtualize Frame::domWindow(). (Closed)
Patch Set: Created 4 years 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/core/frame/DOMWindowProperty.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp b/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp
index 312beaa81fcc665238e8352d5a8c7bcb81152a66..fef480ff8b701718e658ff44702fae26b1b6da03 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp
@@ -38,7 +38,7 @@ DOMWindowProperty::DOMWindowProperty(LocalFrame* frame) : m_frame(frame) {
if (m_frame) {
// FIXME: Need to figure out what to do with DOMWindowProperties on
// remote DOM windows.
- m_frame->localDOMWindow()->registerProperty(this);
+ m_frame->domWindow()->registerProperty(this);
}
}

Powered by Google App Engine
This is Rietveld 408576698