Index: Source/WebKit/chromium/src/WebViewImpl.cpp |
diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp |
index 36f87421be3b01f6714dc1702d7b84ef073366e0..6843a9d768eeae37a1588924270b2f1eb8b2ae0c 100644 |
--- a/Source/WebKit/chromium/src/WebViewImpl.cpp |
+++ b/Source/WebKit/chromium/src/WebViewImpl.cpp |
@@ -38,6 +38,7 @@ |
#include "CompositionUnderlineVectorBuilder.h" |
#include "ContextFeaturesClientImpl.h" |
#include "DeviceOrientationClientProxy.h" |
+#include "modules/device_orientation/DeviceMotionController.h" |
abarth-chromium
2013/04/29 20:32:20
Please put this include in alphabetical order.
timvolodine
2013/04/30 12:40:18
Done.
|
#include "GeolocationClientProxy.h" |
#include "GeolocationController.h" |
#include "GraphicsLayerFactoryChromium.h" |
@@ -481,6 +482,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
#endif |
provideContextFeaturesTo(m_page.get(), m_featureSwitchClient.get()); |
+ provideDeviceMotionTo(m_page.get()); |
abarth-chromium
2013/04/29 20:32:20
This shouldn't be needed. This sort of thing is o
timvolodine
2013/04/30 12:40:18
DeviceMotionController is still a supplement of a
|
provideDeviceOrientationTo(m_page.get(), m_deviceOrientationClientProxy.get()); |
provideGeolocationTo(m_page.get(), m_geolocationClientProxy.get()); |
m_geolocationClientProxy->setController(GeolocationController::from(m_page.get())); |