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

Unified Diff: Source/core/layout/LayoutObject.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
Index: Source/core/layout/LayoutObject.h
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h
index 42e4f2954d0db5923765022fc11d84cdc9a2a571..462de417a2338903ebcd6edfa1c5ae86c83ecd41 100644
--- a/Source/core/layout/LayoutObject.h
+++ b/Source/core/layout/LayoutObject.h
@@ -135,7 +135,7 @@ public:
// Anonymous objects should pass the document as their node, and they will then automatically be
// marked as anonymous in the constructor.
explicit LayoutObject(Node*);
- virtual ~LayoutObject();
+ ~LayoutObject() override;
// Returns the name of the layout object.
virtual const char* name() const = 0;
@@ -969,10 +969,10 @@ public:
virtual int previousOffsetForBackwardDeletion(int current) const;
virtual int nextOffset(int current) const;
- virtual void imageChanged(ImageResource*, const IntRect* = nullptr) override final;
+ void imageChanged(ImageResource*, const IntRect* = nullptr) final;
virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) { }
- virtual bool willRenderImage(ImageResource*) override final;
- virtual bool getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy&) override final;
+ bool willRenderImage(ImageResource*) final;
+ bool getImageAnimationPolicy(ImageResource*, ImageAnimationPolicy&) final;
void selectionStartEnd(int& spos, int& epos) const;
« no previous file with comments | « Source/core/layout/LayoutMultiColumnSpannerPlaceholder.h ('k') | Source/core/layout/LayoutPagedFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698