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

Unified Diff: Source/core/layout/svg/SVGResources.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/SVGMarkerData.h ('k') | Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGResources.h
diff --git a/Source/core/layout/svg/SVGResources.h b/Source/core/layout/svg/SVGResources.h
index 8b3055d1147aa3d482a7a8239e7aaa282b1737e2..69536cfc6351b387ac5796435fc1442a1af09527 100644
--- a/Source/core/layout/svg/SVGResources.h
+++ b/Source/core/layout/svg/SVGResources.h
@@ -60,7 +60,7 @@ public:
{
if (m_clipperFilterMaskerData)
return m_clipperFilterMaskerData->filter;
- return 0;
+ return nullptr;
}
// Paint servers
@@ -115,9 +115,9 @@ private:
WTF_MAKE_FAST_ALLOCATED(ClipperFilterMaskerData);
public:
ClipperFilterMaskerData()
- : clipper(0)
- , filter(0)
- , masker(0)
+ : clipper(nullptr)
+ , filter(nullptr)
+ , masker(nullptr)
{
}
@@ -137,9 +137,9 @@ private:
WTF_MAKE_FAST_ALLOCATED(MarkerData);
public:
MarkerData()
- : markerStart(0)
- , markerMid(0)
- , markerEnd(0)
+ : markerStart(nullptr)
+ , markerMid(nullptr)
+ , markerEnd(nullptr)
{
}
@@ -161,8 +161,8 @@ private:
WTF_MAKE_FAST_ALLOCATED(FillStrokeData);
public:
FillStrokeData()
- : fill(0)
- , stroke(0)
+ : fill(nullptr)
+ , stroke(nullptr)
{
}
« no previous file with comments | « Source/core/layout/svg/SVGMarkerData.h ('k') | Source/core/layout/svg/SVGTextLayoutAttributesBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698