Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 5f99db5e32efe22f57866734d45d48f4e8bbd01f..577962db43a02a27ea8e0f2a837210cdb20a8c28 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" |
@@ -775,6 +776,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) |