Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 2c7c4a6f805c24eb854ae8a3550e93e8920ec7ad..bb86b5c60c33ee9f671eebabde84c55ea5cd500f 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -19,6 +19,7 @@ |
#include "base/threading/thread_restrictions.h" |
#include "base/timer/hi_res_timer_manager.h" |
#include "content/browser/browser_thread_impl.h" |
+#include "content/browser/device_orientation/device_motion_service.h" |
#include "content/browser/download/save_file_manager.h" |
#include "content/browser/gamepad/gamepad_service.h" |
#include "content/browser/gpu/browser_gpu_channel_host_factory.h" |
@@ -774,6 +775,7 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
// Must happen after the I/O thread is shutdown since this class lives on the |
// I/O thread and isn't threadsafe. |
GamepadService::GetInstance()->Terminate(); |
+ DeviceMotionService::GetInstance()->Shutdown(); |
URLDataManager::DeleteDataSources(); |
#endif // !defined(OS_IOS) |