Chromium Code Reviews| 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..0c59287cad54138578b2268a655a9aee7bd0f5cd 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(); |
|
nasko
2015/02/26 17:35:24
nit: space still needed before "?"
clamy
2015/02/27 12:53:59
Done.
|
| +} |
| + |
| } // namespace content |