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

Unified Diff: Source/core/layout/svg/LayoutSVGTransformableContainer.cpp

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/LayoutSVGText.cpp ('k') | Source/core/layout/svg/ReferenceFilterBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
diff --git a/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp b/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
index 96897d32903937fba4817dd74be19f3ae35a0d85..b6be2cac47277b72348628542a30fc795c23fea2 100644
--- a/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
+++ b/Source/core/layout/svg/LayoutSVGTransformableContainer.cpp
@@ -77,7 +77,7 @@ bool LayoutSVGTransformableContainer::calculateLocalTransform()
// If we're either the layoutObject for a <use> element, or for any <g> element inside the shadow
// tree, that was created during the use/symbol/svg expansion in SVGUseElement. These containers
// need to respect the translations induced by their corresponding use elements x/y attributes.
- SVGUseElement* useElement = 0;
+ SVGUseElement* useElement = nullptr;
if (isSVGUseElement(*element)) {
useElement = toSVGUseElement(element);
} else if (isSVGGElement(*element) && toSVGGElement(element)->inUseShadowTree()) {
« no previous file with comments | « Source/core/layout/svg/LayoutSVGText.cpp ('k') | Source/core/layout/svg/ReferenceFilterBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698