Index: ui/aura/root_window_host_x11.cc |
diff --git a/ui/aura/root_window_host_x11.cc b/ui/aura/root_window_host_x11.cc |
index ad1b957d7b5f4c70b832b60c3b3e15d3394f695b..bdb9e8fc740eed832d7c2446b20e6820d0613ce4 100644 |
--- a/ui/aura/root_window_host_x11.cc |
+++ b/ui/aura/root_window_host_x11.cc |
@@ -1092,7 +1092,7 @@ scoped_ptr<ui::XScopedImage> RootWindowHostX11::GetXImage( |
snapshot_bounds.x(), snapshot_bounds.y(), |
snapshot_bounds.width(), snapshot_bounds.height(), |
AllPlanes, ZPixmap))); |
- if (!image) { |
+ if (!image->get()) { |
tfarina
2013/08/10 17:08:58
ok.
|
LOG(ERROR) << "XGetImage failed"; |
image.reset(); |
} |