| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index d49378a7512432b6c32187f492ecd4cb95e46135..97bbe6ac434080a8f8bffc1329c265dd5d967255 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -941,7 +941,7 @@ WebAssociatedURLLoader* WebLocalFrameImpl::createAssociatedURLLoader(
|
| }
|
|
|
| unsigned WebLocalFrameImpl::unloadListenerCount() const {
|
| - return frame()->localDOMWindow()->pendingUnloadEventListeners();
|
| + return frame()->domWindow()->pendingUnloadEventListeners();
|
| }
|
|
|
| void WebLocalFrameImpl::replaceSelection(const WebString& text) {
|
| @@ -2062,7 +2062,7 @@ void WebLocalFrameImpl::sendOrientationChangeEvent() {
|
|
|
| // Legacy window.orientation API
|
| if (RuntimeEnabledFeatures::orientationEventEnabled() && frame()->domWindow())
|
| - frame()->localDOMWindow()->sendOrientationChangeEvent();
|
| + frame()->domWindow()->sendOrientationChangeEvent();
|
| }
|
|
|
| void WebLocalFrameImpl::didCallAddSearchProvider() {
|
| @@ -2179,7 +2179,7 @@ void WebLocalFrameImpl::dispatchMessageEventWithOriginCheck(
|
| const WebSecurityOrigin& intendedTargetOrigin,
|
| const WebDOMEvent& event) {
|
| DCHECK(!event.isNull());
|
| - frame()->localDOMWindow()->dispatchMessageEventWithOriginCheck(
|
| + frame()->domWindow()->dispatchMessageEventWithOriginCheck(
|
| intendedTargetOrigin.get(), event,
|
| SourceLocation::create(String(), 0, 0, nullptr));
|
| }
|
|
|