Index: content/browser/bluetooth/web_bluetooth_service_impl.cc |
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.cc b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
index bb410e7e9f60ade0a48b30e3beb7af996a02bd76..53b008e67ddf02ba7a192b7e8bd2b12fab5c36d9 100644 |
--- a/content/browser/bluetooth/web_bluetooth_service_impl.cc |
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
@@ -199,7 +199,7 @@ void WebBluetoothServiceImpl::DidFinishNavigation( |
NavigationHandle* navigation_handle) { |
if (navigation_handle->HasCommitted() && |
navigation_handle->GetRenderFrameHost() == render_frame_host_ && |
- !navigation_handle->IsSamePage()) { |
+ !navigation_handle->IsSameDocument()) { |
ClearState(); |
} |
} |