Index: content/browser/web_contents/navigation_entry_impl.cc |
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc |
index 727092f253cd2c287525110d374f60fe82296601..92b5a48fe7afdfdf1342845c71f001f15eb5864f 100644 |
--- a/content/browser/web_contents/navigation_entry_impl.cc |
+++ b/content/browser/web_contents/navigation_entry_impl.cc |
@@ -314,7 +314,7 @@ void NavigationEntryImpl::ClearExtraData(const std::string& key) { |
void NavigationEntryImpl::SetScreenshotPNGData( |
scoped_refptr<base::RefCountedBytes> png_data) { |
screenshot_ = png_data; |
- if (screenshot_) |
+ if (screenshot_.get()) |
UMA_HISTOGRAM_MEMORY_KB("Overscroll.ScreenshotSize", screenshot_->size()); |
} |