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

Unified Diff: Source/core/layout/LayoutListBox.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/LayoutInline.h ('k') | Source/core/layout/LayoutListItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListBox.h
diff --git a/Source/core/layout/LayoutListBox.h b/Source/core/layout/LayoutListBox.h
index 93bc71bbb2b5843c696031a628bee6cb1f8af1e6..804b3f26bd941b151d89e121c42ea894211f4069 100644
--- a/Source/core/layout/LayoutListBox.h
+++ b/Source/core/layout/LayoutListBox.h
@@ -40,24 +40,24 @@ class HTMLSelectElement;
class LayoutListBox final : public LayoutBlockFlow {
public:
explicit LayoutListBox(Element*);
- virtual ~LayoutListBox();
+ ~LayoutListBox() override;
unsigned size() const;
// Unlike scrollRectToVisible this will not scroll parent boxes.
void scrollToRect(const LayoutRect&);
- virtual const char* name() const override { return "LayoutListBox"; }
+ const char* name() const override { return "LayoutListBox"; }
private:
HTMLSelectElement* selectElement() const;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectListBox || LayoutBlockFlow::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectListBox || LayoutBlockFlow::isOfType(type); }
- virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override;
- virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
+ void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override;
+ void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
- virtual void stopAutoscroll() override;
+ void stopAutoscroll() override;
LayoutUnit defaultItemHeight() const;
LayoutUnit itemHeight() const;
« no previous file with comments | « Source/core/layout/LayoutInline.h ('k') | Source/core/layout/LayoutListItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698