Index: content/browser/frame_host/navigation_entry_impl.cc |
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc |
index 7e391929596c3646e756ad9de18a3f26443fd89e..864c7c37825abd90b8baabdd30ade18d2cdef8ab 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.cc |
+++ b/content/browser/frame_host/navigation_entry_impl.cc |
@@ -351,4 +351,8 @@ void NavigationEntryImpl::SetScreenshotPNGData( |
UMA_HISTOGRAM_MEMORY_KB("Overscroll.ScreenshotSize", screenshot_->size()); |
} |
+GURL NavigationEntryImpl::GetHistoryURLForDataURL() const { |
+ return GetBaseURLForDataURL().is_empty() ? GURL() : GetVirtualURL(); |
+} |
+ |
} // namespace content |