Index: chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
index b8179051a707fa3534bd61aaddd0f05bd781e145..fe0372304f1d9f8358af619842b02ece07836aa1 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm |
@@ -24,16 +24,14 @@ class ZoomDecorationTest : public InProcessBrowserTest { |
should_quit_on_zoom_(false) { |
} |
- virtual void SetUpOnMainThread() override { |
+ void SetUpOnMainThread() override { |
zoom_subscription_ = content::HostZoomMap::GetDefaultForBrowserContext( |
browser()->profile())->AddZoomLevelChangedCallback( |
base::Bind(&ZoomDecorationTest::OnZoomChanged, |
base::Unretained(this))); |
} |
- virtual void TearDownOnMainThread() override { |
- zoom_subscription_.reset(); |
- } |
+ void TearDownOnMainThread() override { zoom_subscription_.reset(); } |
LocationBarViewMac* GetLocationBar() const { |
BrowserWindowController* controller = |