Index: ash/wm/image_cursors.cc |
diff --git a/ash/wm/image_cursors.cc b/ash/wm/image_cursors.cc |
index c1bd7e7e3cc1c438aad619c801c240a0a5dca799..3d8e4aba51b9adf01140d4e7f5cbd31a0d87acf4 100644 |
--- a/ash/wm/image_cursors.cc |
+++ b/ash/wm/image_cursors.cc |
@@ -61,7 +61,7 @@ ImageCursors::~ImageCursors() { |
} |
gfx::Display ImageCursors::GetDisplay() const { |
- if (!cursor_loader_.get()) { |
+ if (!cursor_loader_) { |
NOTREACHED(); |
// Returning default on release build as it's not serious enough to crash |
// even if this ever happens. |
@@ -72,7 +72,7 @@ gfx::Display ImageCursors::GetDisplay() const { |
bool ImageCursors::SetDisplay(const gfx::Display& display) { |
float device_scale_factor = display.device_scale_factor(); |
- if (!cursor_loader_.get()) { |
+ if (!cursor_loader_) { |
cursor_loader_.reset(ui::CursorLoader::Create()); |
} else if (cursor_loader_->display().rotation() == display.rotation() && |
cursor_loader_->display().device_scale_factor() == |