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

Unified Diff: chrome/browser/ui/cocoa/validation_message_bubble_cocoa.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/validation_message_bubble_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm b/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
index 38dc78d075c545f4abb88dcb8bd22b8b791ab169..ef43064e58e5edc8052121cc326c06467e890b6c 100644
--- a/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
+++ b/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
@@ -162,11 +162,9 @@ class ValidationMessageBubbleCocoa : public chrome::ValidationMessageBubble {
subText:sub_text] retain]);
}
- virtual ~ValidationMessageBubbleCocoa() {
- [controller_.get() close];
- }
+ ~ValidationMessageBubbleCocoa() override { [controller_.get() close]; }
- virtual void SetPositionRelativeToAnchor(
+ void SetPositionRelativeToAnchor(
content::RenderWidgetHost* widget_host,
const gfx::Rect& anchor_in_root_view) override {
[controller_.get()

Powered by Google App Engine
This is Rietveld 408576698