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

Unified Diff: Source/core/layout/LayoutProgress.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (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/layout/LayoutPartTest.cpp ('k') | Source/core/layout/LayoutQuote.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutProgress.h
diff --git a/Source/core/layout/LayoutProgress.h b/Source/core/layout/LayoutProgress.h
index fbd1cd1924b1fce9ae535cda553f4051298b999a..c8d8abf48dbc3ff22cb864e72e76a7afcf12740c 100644
--- a/Source/core/layout/LayoutProgress.h
+++ b/Source/core/layout/LayoutProgress.h
@@ -31,23 +31,23 @@ class HTMLProgressElement;
class CORE_EXPORT LayoutProgress final : public LayoutBlockFlow {
public:
explicit LayoutProgress(HTMLElement*);
- virtual ~LayoutProgress();
+ ~LayoutProgress() override;
double position() const { return m_position; }
double animationProgress() const;
bool isDeterminate() const;
- virtual void updateFromElement() override;
+ void updateFromElement() override;
HTMLProgressElement* progressElement() const;
- virtual const char* name() const override { return "LayoutProgress"; }
+ const char* name() const override { return "LayoutProgress"; }
protected:
- virtual void willBeDestroyed() override;
+ void willBeDestroyed() override;
private:
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectProgress || LayoutBlockFlow::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectProgress || LayoutBlockFlow::isOfType(type); }
void animationTimerFired(Timer<LayoutProgress>*);
void updateAnimationState();
« no previous file with comments | « Source/core/layout/LayoutPartTest.cpp ('k') | Source/core/layout/LayoutQuote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698