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