Index: content/browser/web_contents/web_contents_view_aura.cc |
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc |
index 947f639a3f401c8f842dd056e4ae597d6e1dcb93..c7bdaaaa790ee977acecc90e062d0bc6e74eb7ba 100644 |
--- a/content/browser/web_contents/web_contents_view_aura.cc |
+++ b/content/browser/web_contents/web_contents_view_aura.cc |
@@ -112,7 +112,7 @@ class OverscrollWindowDelegate : public ImageWindowDelegate { |
} |
gfx::Image image; |
- if (entry && entry->screenshot()) { |
+ if (entry && entry->screenshot().get()) { |
std::vector<gfx::ImagePNGRep> image_reps; |
image_reps.push_back(gfx::ImagePNGRep(entry->screenshot(), |
ui::GetScaleFactorForNativeView(web_contents_window()))); |
@@ -479,7 +479,7 @@ class OverscrollNavigationOverlay : |
controller.GetEntryAtOffset(offset)); |
gfx::Image image; |
- if (entry && entry->screenshot()) { |
+ if (entry && entry->screenshot().get()) { |
std::vector<gfx::ImagePNGRep> image_reps; |
image_reps.push_back(gfx::ImagePNGRep(entry->screenshot(), |
ui::GetScaleFactorForNativeView(window_.get()))); |