Index: content/browser/android/web_contents_observer_proxy.cc |
diff --git a/content/browser/android/web_contents_observer_proxy.cc b/content/browser/android/web_contents_observer_proxy.cc |
index 923f5a6bdd3c27d05f1ec57bed63c755a4a6a1fd..abf471487af0de76a296d66d0dac51716a16ce65 100644 |
--- a/content/browser/android/web_contents_observer_proxy.cc |
+++ b/content/browser/android/web_contents_observer_proxy.cc |
@@ -303,8 +303,8 @@ void WebContentsObserverProxy::SetToBaseURLForDataURLIfNeeded( |
NavigationEntry* entry = |
web_contents()->GetController().GetLastCommittedEntry(); |
// Note that GetBaseURLForDataURL is only used by the Android WebView. |
- if (entry && !entry->GetBaseURLForDataURL().is_empty()) |
- *url = entry->GetBaseURLForDataURL().possibly_invalid_spec(); |
+ if (entry && !entry->GetDataURLWithBaseURL().is_empty()) |
+ *url = entry->GetURL().possibly_invalid_spec(); |
} |
bool RegisterWebContentsObserverProxy(JNIEnv* env) { |