Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 31ade06d839a1800cdfe97b5499330af91b81a3c..16b075b630c14e799b88c10f2738ec3afc640d37 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1384,7 +1384,7 @@ void WebLocalFrameImpl::resetMatchCount() |
void WebLocalFrameImpl::sendOrientationChangeEvent() |
{ |
if (frame()) |
- frame()->sendOrientationChangeEvent(); |
+ ScreenOrientationController::from(*frame()).notifyOrientationChanged(); |
} |
void WebLocalFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin& intendedTargetOrigin, const WebDOMEvent& event) |