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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.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/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index c30f6aa96631fb5be970635f4928b60ba60e7278..1612f2e6ddc29b508ff1304fd9ea1f154f04a5b7 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -532,7 +532,7 @@ void LocalDOMWindow::sendOrientationChangeEvent() {
if (!frames[i]->isLocalFrame())
continue;
toLocalFrame(frames[i].get())
- ->localDOMWindow()
+ ->domWindow()
->dispatchEvent(Event::create(EventTypeNames::orientationchange));
}
}

Powered by Google App Engine
This is Rietveld 408576698