Chromium Code Reviews| Index: Source/core/frame/LocalFrame.cpp |
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
| index 1fd588bc1e4d5888ecc1767e69ce62b1327a3a99..7ef28dcec48d3969cd876e9678f3e3ec04a58c1b 100644 |
| --- a/Source/core/frame/LocalFrame.cpp |
| +++ b/Source/core/frame/LocalFrame.cpp |
| @@ -164,7 +164,7 @@ void LocalFrame::setView(PassRefPtr<FrameView> view) |
| void LocalFrame::sendOrientationChangeEvent() |
| { |
| - if (!RuntimeEnabledFeatures::orientationEventEnabled()) |
| + if (!RuntimeEnabledFeatures::orientationEventEnabled() && !RuntimeEnabledFeatures::screenOrientationEnabled()) |
|
mlamouri (slow - plz ping)
2014/05/19 14:06:15
window.orientation has a bug wrt to orientationcha
Inactive
2014/05/19 15:14:30
Ok, I'll take a look. I think we can traverse subf
Inactive
2014/05/19 16:05:26
Done and added a layout test to cover this.
|
| return; |
| if (DOMWindow* window = domWindow()) |