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

Unified Diff: Source/core/layout/LayoutQuote.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/LayoutProgress.h ('k') | Source/core/layout/LayoutReplaced.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutQuote.h
diff --git a/Source/core/layout/LayoutQuote.h b/Source/core/layout/LayoutQuote.h
index dfff63f022c48dec289223d1161101ff2acdab23..906fb44eb91805d900aa703d7142e8276278effc 100644
--- a/Source/core/layout/LayoutQuote.h
+++ b/Source/core/layout/LayoutQuote.h
@@ -35,18 +35,18 @@ class LayoutTextFragment;
class LayoutQuote final : public LayoutInline {
public:
LayoutQuote(Document*, const QuoteType);
- virtual ~LayoutQuote();
+ ~LayoutQuote() override;
void attachQuote();
- virtual const char* name() const override { return "LayoutQuote"; }
+ const char* name() const override { return "LayoutQuote"; }
private:
void detachQuote();
- virtual void willBeDestroyed() override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectQuote || LayoutInline::isOfType(type); }
- virtual void styleDidChange(StyleDifference, const ComputedStyle*) override;
- virtual void willBeRemovedFromTree() override;
+ void willBeDestroyed() override;
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectQuote || LayoutInline::isOfType(type); }
+ void styleDidChange(StyleDifference, const ComputedStyle*) override;
+ void willBeRemovedFromTree() override;
String computeText() const;
void updateText();
« no previous file with comments | « Source/core/layout/LayoutProgress.h ('k') | Source/core/layout/LayoutReplaced.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698