Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3471)

Unified Diff: ash/system/tray/tray_item_view.cc

Issue 14297013: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_item_view.cc
diff --git a/ash/system/tray/tray_item_view.cc b/ash/system/tray/tray_item_view.cc
index 835e55e92256d0f6ab08168d6cef07ef934d7080..632dcbfc4c5dc52bbf867b5d547da200fdfe4bc8 100644
--- a/ash/system/tray/tray_item_view.cc
+++ b/ash/system/tray/tray_item_view.cc
@@ -51,7 +51,7 @@ void TrayItemView::SetVisible(bool set_visible) {
return;
}
- if (!animation_.get()) {
+ if (!animation_) {
animation_.reset(new ui::SlideAnimation(this));
animation_->SetSlideDuration(GetAnimationDurationMS());
animation_->SetTweenType(ui::Tween::LINEAR);
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698