Index: content/renderer/media/user_media_client_impl.cc |
diff --git a/content/renderer/media/user_media_client_impl.cc b/content/renderer/media/user_media_client_impl.cc |
index ff9a1fe5574ca001bfaaa475f8f6acff346cadec..82e5bf0e3b009ec80c02ea501a1035847f2c0919 100644 |
--- a/content/renderer/media/user_media_client_impl.cc |
+++ b/content/renderer/media/user_media_client_impl.cc |
@@ -187,7 +187,7 @@ UserMediaClientImpl::~UserMediaClientImpl() { |
// Force-close all outstanding user media requests and local sources here, |
// before the outstanding WeakPtrs are invalidated, to ensure a clean |
// shutdown. |
- FrameWillClose(); |
+ WillCommitProvisionalLoad(); |
} |
void UserMediaClientImpl::requestUserMedia( |
@@ -1028,7 +1028,7 @@ void UserMediaClientImpl::CancelAndDeleteMediaDevicesRequest( |
NOTREACHED(); |
} |
-void UserMediaClientImpl::FrameWillClose() { |
+void UserMediaClientImpl::WillCommitProvisionalLoad() { |
// Cancel all outstanding UserMediaRequests. |
DeleteAllUserMediaRequests(); |