Index: ui/app_list/views/search_result_view.cc |
diff --git a/ui/app_list/views/search_result_view.cc b/ui/app_list/views/search_result_view.cc |
index 19c847efd9a37f444b56af7a5cb814919cb71520..b3b67e127608d8313ae44d825d0d37bc08f29e36 100644 |
--- a/ui/app_list/views/search_result_view.cc |
+++ b/ui/app_list/views/search_result_view.cc |
@@ -203,7 +203,7 @@ void SearchResultView::OnPaint(gfx::Canvas* canvas) { |
text_bounds.set_x(GetMirroredXWithWidthInView(text_bounds.x(), |
text_bounds.width())); |
- if (title_text_.get() && details_text_.get()) { |
+ if (title_text_ && details_text_) { |
gfx::Size title_size(text_bounds.width(), |
title_text_->GetStringSize().height()); |
gfx::Size details_size(text_bounds.width(), |
@@ -219,7 +219,7 @@ void SearchResultView::OnPaint(gfx::Canvas* canvas) { |
details_text_->SetDisplayRect(gfx::Rect(gfx::Point(text_bounds.x(), y), |
details_size)); |
details_text_->Draw(canvas); |
- } else if (title_text_.get()) { |
+ } else if (title_text_) { |
gfx::Size title_size(text_bounds.width(), |
title_text_->GetStringSize().height()); |
gfx::Rect centered_title_rect(text_bounds); |