Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm |
index 7ca8b4a73d6e79d8515872562efc44cf6515928a..2edcbcec7d174c9e373284af7a0c6e2fa058cfac 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm |
@@ -9,10 +9,10 @@ |
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h" |
#import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" |
#import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h" |
-#import "chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h" |
#import "chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h" |
#import "chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h" |
#import "chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h" |
+#import "chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h" |
#import "chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h" |
#import "chrome/browser/ui/cocoa/location_bar/star_decoration.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -115,12 +115,14 @@ TEST_F(AutocompleteTextFieldCellTest, DISABLED_FocusedDisplay) { |
EXPECT_NE(location_icon_decoration.GetWidthForSpace(kVeryWide), |
LocationBarDecoration::kOmittedWidth); |
- EVBubbleDecoration ev_bubble_decoration(&location_icon_decoration); |
- ev_bubble_decoration.SetVisible(true); |
- ev_bubble_decoration.SetImage([NSImage imageNamed:@"NSApplicationIcon"]); |
- ev_bubble_decoration.SetLabel(@"Application"); |
- [cell addLeftDecoration:&ev_bubble_decoration]; |
- EXPECT_NE(ev_bubble_decoration.GetWidthForSpace(kVeryWide), |
+ SecurityStateBubbleDecoration security_state_bubble_decoration( |
+ &location_icon_decoration, nullptr); |
+ security_state_bubble_decoration.SetVisible(true); |
+ security_state_bubble_decoration.SetImage( |
+ [NSImage imageNamed:@"NSApplicationIcon"]); |
+ security_state_bubble_decoration.SetLabel(@"Application"); |
+ [cell addLeftDecoration:&security_state_bubble_decoration]; |
+ EXPECT_NE(security_state_bubble_decoration.GetWidthForSpace(kVeryWide), |
LocationBarDecoration::kOmittedWidth); |
StarDecoration star_decoration(NULL); |