| Index: Source/web/WebFrameImpl.cpp
|
| diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
|
| index 51c3eb2b05825be4e226402e975027cda86ff155..c75a52f51025a43ea5556e9cb48273239808e864 100644
|
| --- a/Source/web/WebFrameImpl.cpp
|
| +++ b/Source/web/WebFrameImpl.cpp
|
| @@ -1806,10 +1806,10 @@ void WebFrameImpl::resetMatchCount()
|
|
|
| void WebFrameImpl::sendOrientationChangeEvent(int orientation)
|
| {
|
| -#if ENABLE(ORIENTATION_EVENTS)
|
| + ASSERT(!RuntimeEnabledFeatures::orientationEventEnabled());
|
| +
|
| if (frame())
|
| frame()->sendOrientationChangeEvent(orientation);
|
| -#endif
|
| }
|
|
|
| void WebFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin& intendedTargetOrigin, const WebDOMEvent& event)
|
|
|