Index: chrome/browser/ui/views/tabs/tab.cc |
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc |
index 9ee20bd1cc96d67f3b82c1044c586fb0b89ba92e..af8b0993163b6214d1b8b53eeb08eca3a1d5ef28 100644 |
--- a/chrome/browser/ui/views/tabs/tab.cc |
+++ b/chrome/browser/ui/views/tabs/tab.cc |
@@ -542,7 +542,7 @@ void Tab::UpdateLoadingAnimation(TabRendererData::NetworkState state) { |
void Tab::StartPulse() { |
pulse_animation_.reset(new gfx::ThrobAnimation(this)); |
pulse_animation_->SetSlideDuration(kPulseDurationMs); |
- if (animation_container_) |
+ if (animation_container_.get()) |
pulse_animation_->SetContainer(animation_container_.get()); |
pulse_animation_->StartThrobbing(std::numeric_limits<int>::max()); |
} |
@@ -572,7 +572,7 @@ void Tab::StartMiniTabTitleAnimation() { |
base::TimeDelta timeout = |
base::TimeDelta::FromMilliseconds(kMiniTitleChangeAnimationIntervalMS); |
mini_title_change_animation_.reset(new gfx::MultiAnimation(parts, timeout)); |
- if (animation_container_) |
+ if (animation_container_.get()) |
mini_title_change_animation_->SetContainer(animation_container_.get()); |
mini_title_change_animation_->set_delegate(this); |
} |