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

Unified Diff: Source/core/layout/svg/LayoutSVGGradientStop.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/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGHiddenContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGGradientStop.h
diff --git a/Source/core/layout/svg/LayoutSVGGradientStop.h b/Source/core/layout/svg/LayoutSVGGradientStop.h
index a448a8e55676f60d6906aa90a453dfbbb2cbc80a..69316c275f8df7936b0a28a16179669c7cc01f0d 100644
--- a/Source/core/layout/svg/LayoutSVGGradientStop.h
+++ b/Source/core/layout/svg/LayoutSVGGradientStop.h
@@ -42,7 +42,7 @@ public:
// This overrides are needed to prevent ASSERTs on <svg><stop /></svg>
// LayoutObject's default implementations ASSERT_NOT_REACHED()
// https://bugs.webkit.org/show_bug.cgi?id=20400
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject*, const PaintInvalidationState* = 0) const override { return LayoutRect(); }
+ virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject*, const PaintInvalidationState* = nullptr) const override { return LayoutRect(); }
virtual FloatRect objectBoundingBox() const override { return FloatRect(); }
virtual FloatRect strokeBoundingBox() const override { return FloatRect(); }
virtual FloatRect paintInvalidationRectInLocalCoordinates() const override { return FloatRect(); }
« no previous file with comments | « Source/core/layout/svg/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGHiddenContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698