Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index f7505af877b67c2644609a9ff6920d39dfba84a0..f11c0128b7e269f6bfc48ed9dbe3eccf715ce675 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -57,6 +57,7 @@ |
#include "content/browser/renderer_host/render_widget_host_view_base.h" |
#include "content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h" |
#include "content/browser/site_instance_impl.h" |
+#include "content/browser/wake_lock/wake_lock_service_context.h" |
#include "content/browser/web_contents/web_contents_view_guest.h" |
#include "content/browser/webui/generic_handler.h" |
#include "content/browser/webui/web_ui_controller_factory_registry.h" |
@@ -1389,6 +1390,8 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) { |
manifest_manager_host_.reset(new ManifestManagerHost(this)); |
+ wake_lock_service_context_.reset(new WakeLockServiceContext(this)); |
+ |
#if defined(OS_ANDROID) |
date_time_chooser_.reset(new DateTimeChooserAndroid()); |
#endif |