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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathElement.cpp

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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
Index: third_party/WebKit/Source/core/svg/SVGPathElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
index 72bd411d274d596bdc1aa7fe4742dd98b5e1e991..7b734eaabe5fbc7fb05a141da59231127a54af50 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
@@ -164,7 +164,8 @@ void SVGPathElement::collectStyleForPresentationAttribute(
SVGAnimatedPropertyBase* property = propertyFromAttribute(name);
if (property == m_path) {
SVGAnimatedPath* path = this->path();
- // If this is a <use> instance, return the referenced path to maximize geometry sharing.
+ // If this is a <use> instance, return the referenced path to maximize
+ // geometry sharing.
if (const SVGElement* element = correspondingElement())
path = toSVGPathElement(element)->path();
@@ -182,7 +183,8 @@ void SVGPathElement::collectStyleForPresentationAttribute(
void SVGPathElement::invalidateMPathDependencies() {
// <mpath> can only reference <path> but this dependency is not handled in
- // markForLayoutAndParentResourceInvalidation so we update any mpath dependencies manually.
+ // markForLayoutAndParentResourceInvalidation so we update any mpath
+ // dependencies manually.
if (SVGElementSet* dependencies = setOfIncomingReferences()) {
for (SVGElement* element : *dependencies) {
if (isSVGMPathElement(*element))
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathData.h ('k') | third_party/WebKit/Source/core/svg/SVGPathParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698