| Index: content/browser/media/webrtc/webrtc_internals.cc
|
| diff --git a/content/browser/media/webrtc/webrtc_internals.cc b/content/browser/media/webrtc/webrtc_internals.cc
|
| index 09d7a970d26052e49cedf927f7bf87711bfb1c1a..4cf378d29d62b68d27851761d753578fd9df5e8a 100644
|
| --- a/content/browser/media/webrtc/webrtc_internals.cc
|
| +++ b/content/browser/media/webrtc/webrtc_internals.cc
|
| @@ -12,7 +12,7 @@
|
| #include "content/browser/web_contents/web_contents_view.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/content_browser_client.h"
|
| -#include "content/public/browser/power_save_blocker.h"
|
| +#include "content/public/browser/power_save_blocker_factory.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| @@ -502,7 +502,7 @@ void WebRTCInternals::CreateOrReleasePowerSaveBlocker() {
|
| } else if (!peer_connection_data_.empty() && !power_save_blocker_) {
|
| DVLOG(1) << ("Preventing the application from being suspended while one or "
|
| "more PeerConnections are active.");
|
| - power_save_blocker_ = content::PowerSaveBlocker::Create(
|
| + power_save_blocker_ = content::CreatePowerSaveBlocker(
|
| PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,
|
| PowerSaveBlocker::kReasonOther, "WebRTC has active PeerConnections");
|
| }
|
|
|