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

Unified Diff: Source/core/css/MediaQueryList.h

Issue 1226293002: Fix virtual/override/final usage in Source/core/{animation,css,style}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/css/LocalFontFaceSource.h ('k') | Source/core/css/MediaQueryListEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQueryList.h
diff --git a/Source/core/css/MediaQueryList.h b/Source/core/css/MediaQueryList.h
index 0c3d45a1f334130f98ac39b3f079191d4d39d3be..6dacdfdc602169152cac2d60f149ef0de6b66311 100644
--- a/Source/core/css/MediaQueryList.h
+++ b/Source/core/css/MediaQueryList.h
@@ -47,7 +47,7 @@ class CORE_EXPORT MediaQueryList final : public EventTargetWithInlineData, publi
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaQueryList);
public:
static PassRefPtrWillBeRawPtr<MediaQueryList> create(ExecutionContext*, PassRefPtrWillBeRawPtr<MediaQueryMatcher>, PassRefPtrWillBeRawPtr<MediaQuerySet>);
- virtual ~MediaQueryList();
+ ~MediaQueryList() override;
String media() const;
bool matches();
@@ -69,11 +69,11 @@ public:
DECLARE_VIRTUAL_TRACE();
// From ActiveDOMObject
- virtual bool hasPendingActivity() const override;
- virtual void stop() override;
+ bool hasPendingActivity() const override;
+ void stop() override;
- virtual const AtomicString& interfaceName() const override;
- virtual ExecutionContext* executionContext() const override;
+ const AtomicString& interfaceName() const override;
+ ExecutionContext* executionContext() const override;
private:
MediaQueryList(ExecutionContext*, PassRefPtrWillBeRawPtr<MediaQueryMatcher>, PassRefPtrWillBeRawPtr<MediaQuerySet>);
« no previous file with comments | « Source/core/css/LocalFontFaceSource.h ('k') | Source/core/css/MediaQueryListEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698