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

Unified Diff: Source/core/svg/SVGElementRareData.cpp

Issue 1127773003: This CL clean up patch in SVGElements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/svg/SVGElement.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElementRareData.cpp
diff --git a/Source/core/svg/SVGElementRareData.cpp b/Source/core/svg/SVGElementRareData.cpp
index 82c9c3c792e729113329384f8f86d2e17f02691e..5652eafa0c3fcae027618e25ab1fa99835b15bb8 100644
--- a/Source/core/svg/SVGElementRareData.cpp
+++ b/Source/core/svg/SVGElementRareData.cpp
@@ -24,7 +24,7 @@ ComputedStyle* SVGElementRareData::overrideComputedStyle(Element* element, const
{
ASSERT(element);
if (!m_useOverrideComputedStyle)
- return 0;
+ return nullptr;
if (!m_overrideComputedStyle || m_needsOverrideComputedStyleUpdate) {
// The style computed here contains no CSS Animations/Transitions or SMIL induced rules - this is needed to compute the "base value" for the SMIL animation sandwhich model.
m_overrideComputedStyle = element->document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL);
« no previous file with comments | « Source/core/svg/SVGElement.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698