Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / validation_message_bubble_cocoa.mm
index 9612eae..ef43064 100644 (file)
@@ -162,13 +162,11 @@ 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 {
+      const gfx::Rect& anchor_in_root_view) override {
     [controller_.get()
         setAnchorPoint:GetAnchorPoint(widget_host, anchor_in_root_view)];
   }