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

Unified Diff: Source/core/rendering/RenderLayerModelObject.h

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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/rendering/RenderLayerFilterInfo.h ('k') | Source/core/rendering/RenderLayerScrollableArea.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayerModelObject.h
diff --git a/Source/core/rendering/RenderLayerModelObject.h b/Source/core/rendering/RenderLayerModelObject.h
index 667271c3affdededea74ae4a766bb0b498dc7020..6f2b6c7f89e267b3daa61a353f976b977777c087 100644
--- a/Source/core/rendering/RenderLayerModelObject.h
+++ b/Source/core/rendering/RenderLayerModelObject.h
@@ -51,8 +51,8 @@ public:
RenderLayer* layer() const { return m_layer.get(); }
ScrollableArea* scrollableArea() const;
- virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) OVERRIDE;
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
+ virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) override;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
virtual void updateFromStyle() { }
virtual LayerType layerTypeRequired() const = 0;
@@ -64,7 +64,7 @@ public:
// This is null for anonymous renderers.
ContainerNode* node() const { return toContainerNode(RenderObject::node()); }
- virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE;
+ virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override;
// Indicate that the contents of this renderer need to be repainted. Only has an effect if compositing is being used,
void setBackingNeedsPaintInvalidationInRect(const LayoutRect&, InvalidationReason) const; // r is in the coordinate space of this render object
@@ -72,12 +72,12 @@ public:
protected:
void createLayer(LayerType);
- virtual void willBeDestroyed() OVERRIDE;
+ virtual void willBeDestroyed() override;
- virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer*, const LayoutPoint&, const LayoutRect&) const OVERRIDE;
+ virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer*, const LayoutPoint&, const LayoutRect&) const override;
private:
- virtual bool isLayerModelObject() const OVERRIDE FINAL { return true; }
+ virtual bool isLayerModelObject() const override final { return true; }
OwnPtr<RenderLayer> m_layer;
« no previous file with comments | « Source/core/rendering/RenderLayerFilterInfo.h ('k') | Source/core/rendering/RenderLayerScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698