Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2671)

Unified Diff: chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 =

Powered by Google App Engine
This is Rietveld 408576698