summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_controller_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller_unittest.mm')
-rw-r--r--chrome/browser/cocoa/toolbar_controller_unittest.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller_unittest.mm b/chrome/browser/cocoa/toolbar_controller_unittest.mm
index b601e69..c5f155d 100644
--- a/chrome/browser/cocoa/toolbar_controller_unittest.mm
+++ b/chrome/browser/cocoa/toolbar_controller_unittest.mm
@@ -154,9 +154,9 @@ TEST_F(ToolbarControllerTest, LoadingState) {
// IDC_RELOAD. When loading, it should be IDC_STOP.
NSButton* reload = [[bar_ toolbarViews] objectAtIndex:kReloadIndex];
EXPECT_EQ([reload tag], IDC_RELOAD);
- [bar_ setIsLoading:YES];
+ [bar_ setIsLoading:YES force:YES];
EXPECT_EQ([reload tag], IDC_STOP);
- [bar_ setIsLoading:NO];
+ [bar_ setIsLoading:NO force:YES];
EXPECT_EQ([reload tag], IDC_RELOAD);
}