| Index: Source/core/frame/DOMWindow.cpp
|
| diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
|
| index ebaf7813b00664e25e171a6e4297e8db30e7b02b..e695e673a5c4d0aa64ae1e892c20808dd5eb4b48 100644
|
| --- a/Source/core/frame/DOMWindow.cpp
|
| +++ b/Source/core/frame/DOMWindow.cpp
|
| @@ -612,15 +612,15 @@ bool DOMWindow::isCurrentlyDisplayedInFrame() const
|
| return m_frame && m_frame->domWindow() == this;
|
| }
|
|
|
| -#if ENABLE(ORIENTATION_EVENTS)
|
| int DOMWindow::orientation() const
|
| {
|
| + ASSERT(!RuntimeEnabledFeatures::orientationEventEnabled());
|
| +
|
| if (!m_frame)
|
| return 0;
|
|
|
| return m_frame->orientation();
|
| }
|
| -#endif
|
|
|
| Screen* DOMWindow::screen() const
|
| {
|
|
|