Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / frame / browser_view_browsertest.cc
index 25dced6..b5219f2 100644 (file)
@@ -65,9 +65,9 @@ class TestWebContentsObserver : public content::WebContentsObserver {
                           content::WebContents* other)
       : content::WebContentsObserver(source),
         other_(other) {}
-  virtual ~TestWebContentsObserver() {}
+  ~TestWebContentsObserver() override {}
 
-  virtual void WebContentsDestroyed() OVERRIDE {
+  void WebContentsDestroyed() override {
     other_->NotifyNavigationStateChanged(static_cast<content::InvalidateTypes>(
         content::INVALIDATE_TYPE_URL | content::INVALIDATE_TYPE_LOAD));
   }
@@ -182,9 +182,7 @@ class BookmarkBarViewObserverImpl : public BookmarkBarViewObserver {
   void clear_change_count() { change_count_ = 0; }
 
   // BookmarkBarViewObserver:
-  virtual void OnBookmarkBarVisibilityChanged() OVERRIDE {
-    change_count_++;
-  }
+  void OnBookmarkBarVisibilityChanged() override { change_count_++; }
 
  private:
   int change_count_;