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

Unified Diff: Source/core/layout/svg/LayoutSVGRoot.h

Issue 1162383003: C++11: Replace 0 with nullptr where applicable in layout code. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add one more file. Created 5 years, 6 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/svg/LayoutSVGResourcePaintServer.cpp ('k') | Source/core/layout/svg/LayoutSVGShape.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGRoot.h
diff --git a/Source/core/layout/svg/LayoutSVGRoot.h b/Source/core/layout/svg/LayoutSVGRoot.h
index 4d8892afae31477a4cb2d1cda79512cc59b97828..a42b73879dfb209d013e3f0488192916a41ddfd8 100644
--- a/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/Source/core/layout/svg/LayoutSVGRoot.h
@@ -87,7 +87,7 @@ private:
virtual void willBeDestroyed() override;
virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
- virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) override;
+ virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
virtual void removeChild(LayoutObject*) override;
virtual void insertedIntoTree() override;
@@ -101,9 +101,9 @@ private:
virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override;
+ virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const override;
- virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0, const PaintInvalidationState* = 0) const override;
+ virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = nullptr, const PaintInvalidationState* = nullptr) const override;
virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ancestorToStopAt, LayoutGeometryMap&) const override;
virtual bool canBeSelectionLeaf() const override { return false; }
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp ('k') | Source/core/layout/svg/LayoutSVGShape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698