Index: Source/modules/screen_orientation/ScreenOrientationController.cpp |
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.cpp b/Source/modules/screen_orientation/ScreenOrientationController.cpp |
index 9f1686db67f09080987a4209641514ece6d509f6..0de3398ec4bf0517ff840d695ff954157ac11cd0 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientationController.cpp |
+++ b/Source/modules/screen_orientation/ScreenOrientationController.cpp |
@@ -41,7 +41,7 @@ void ScreenOrientationController::dispatchOrientationChangeEvent() |
if (m_document.domWindow() |
&& !m_document.activeDOMObjectsAreSuspended() |
&& !m_document.activeDOMObjectsAreStopped()) |
- m_document.domWindow()->screen().dispatchEvent(Event::create(EventTypeNames::orientationchange)); |
+ m_document.domWindow()->dispatchEvent(Event::create(EventTypeNames::orientationchange)); |
Inactive
2014/04/17 20:29:48
Doesn't this event get fired twice now? (once here
mlamouri (slow - plz ping)
2014/04/17 20:34:33
That is correct. I will make window.orientation im
Inactive
2014/04/17 20:41:18
I'd like to hear Adam's opinion on this. I don't r
abarth-chromium
2014/04/17 23:36:47
I think it's fine given that this code is still in
mlamouri (slow - plz ping)
2014/04/18 16:42:17
That will be the case.
|
} |
const char* ScreenOrientationController::supplementName() |