Index: chrome/browser/ui/ash/screenshot_taker.cc |
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc |
index e471e5389e1957e65279959aa13ae90be140af45..70a07d7050c3e63bd4036d3730ff087dd1cc353e 100644 |
--- a/chrome/browser/ui/ash/screenshot_taker.cc |
+++ b/chrome/browser/ui/ash/screenshot_taker.cc |
@@ -552,7 +552,7 @@ void ScreenshotTaker::GrabWindowSnapshotAsyncCallback( |
bool is_partial, |
int window_idx, |
scoped_refptr<base::RefCountedBytes> png_data) { |
- if (!png_data) { |
+ if (!png_data.get()) { |
if (is_partial) { |
LOG(ERROR) << "Failed to grab the window screenshot"; |
ShowNotification( |