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

Unified Diff: Source/core/layout/LayoutTableCol.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/LayoutTableCell.cpp ('k') | Source/core/layout/LayoutTableCol.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableCol.h
diff --git a/Source/core/layout/LayoutTableCol.h b/Source/core/layout/LayoutTableCol.h
index 19b12e051bd40f16902dcfb153bc5cdd4c75b55e..dad0d39d16602d644d1a2a412e2541896753e420 100644
--- a/Source/core/layout/LayoutTableCol.h
+++ b/Source/core/layout/LayoutTableCol.h
@@ -58,14 +58,14 @@ public:
LayoutTableCol* enclosingColumnGroupIfAdjacentBefore() const
{
if (previousSibling())
- return 0;
+ return nullptr;
return enclosingColumnGroup();
}
LayoutTableCol* enclosingColumnGroupIfAdjacentAfter() const
{
if (nextSibling())
- return 0;
+ return nullptr;
return enclosingColumnGroup();
}
@@ -95,8 +95,8 @@ private:
virtual bool canHaveChildren() const override;
virtual DeprecatedPaintLayerType layerTypeRequired() const override { return NoDeprecatedPaintLayer; }
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override;
- virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override;
+ virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const override;
+ virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
« no previous file with comments | « Source/core/layout/LayoutTableCell.cpp ('k') | Source/core/layout/LayoutTableCol.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698