Index: chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm |
index 22c07a7b8f9bc805f7f842a81b3a082724321721..5cf77aae6fe8e4a9f30dc5a23bd3dde8cebd55a0 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm |
@@ -123,6 +123,10 @@ void SecurityStateBubbleDecoration::AnimateOut() { |
animation_.Hide(); |
} |
+void SecurityStateBubbleDecoration::ShowWithoutAnimation() { |
+ animation_.Reset(1.0); |
+} |
+ |
bool SecurityStateBubbleDecoration::HasAnimatedIn() const { |
return animation_.IsShowing() && animation_.GetCurrentValue() == 1.0; |
} |