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

Unified Diff: Source/core/layout/LayoutReplaced.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/LayoutQuote.cpp ('k') | Source/core/layout/LayoutReplica.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutReplaced.h
diff --git a/Source/core/layout/LayoutReplaced.h b/Source/core/layout/LayoutReplaced.h
index 68b42421066b7f1350adeb5b1c111674441151c2..a1ec523400bdc84205989a6212fa580baa3d859b 100644
--- a/Source/core/layout/LayoutReplaced.h
+++ b/Source/core/layout/LayoutReplaced.h
@@ -37,7 +37,7 @@ public:
virtual LayoutUnit computeReplacedLogicalHeight() const override;
bool hasReplacedLogicalHeight() const;
- LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0) const;
+ LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = nullptr) const;
virtual bool needsPreferredWidthsRecalculation() const override;
@@ -75,12 +75,12 @@ protected:
void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; }
virtual void intrinsicSizeChanged();
- virtual LayoutBox* embeddedContentBox() const { return 0; }
+ virtual LayoutBox* embeddedContentBox() const { return nullptr; }
private:
virtual void computePreferredLogicalWidths() override final;
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override;
+ virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const override;
virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override final;
« no previous file with comments | « Source/core/layout/LayoutQuote.cpp ('k') | Source/core/layout/LayoutReplica.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698