Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index a4b57fb682a6b74705c89a2da22def41ba029ee5..a71c0fa4a3cee05f006f251b11028f0d2129421e 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) |