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

Unified Diff: third_party/WebKit/Source/core/svg/SVGViewSpec.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/SVGViewSpec.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
index e41b971a3dbf50fc354da76bb1bdad6d53b97293..5eb05c1b79d14d161d6f93af5537b16af9c1c121 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
@@ -30,11 +30,13 @@
namespace blink {
SVGViewSpec::SVGViewSpec(SVGSVGElement* contextElement)
- // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to an element.
- // Note: We make tear-offs' contextElement the target element of SVGViewSpec.
- // This contextElement will be only used for keeping this alive from the tearoff.
- // SVGSVGElement holds a strong-ref to this SVGViewSpec, so this is kept alive as:
- // AnimatedProperty tearoff -(contextElement)-> SVGSVGElement -(RefPtr)-> SVGViewSpec.
+ // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to
+ // an element. We make tear-offs' contextElement the target element of
+ // SVGViewSpec. This contextElement will be only used for keeping this
+ // alive from the tearoff. SVGSVGElement holds a strong-ref to this
+ // SVGViewSpec, so this is kept alive as:
+ // AnimatedProperty tearoff -(contextElement)-> SVGSVGElement -(RefPtr)->
+ // SVGViewSpec.
: SVGFitToViewBox(contextElement, PropertyMapPolicySkip),
m_contextElement(contextElement),
m_transform(
@@ -46,7 +48,8 @@ SVGViewSpec::SVGViewSpec(SVGSVGElement* contextElement)
viewBox()->setReadOnly();
preserveAspectRatio()->setReadOnly();
m_transform->setReadOnly();
- // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to an element.
+ // Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to
+ // an element.
}
DEFINE_TRACE(SVGViewSpec) {
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGUseElement.cpp ('k') | third_party/WebKit/Source/core/svg/animation/SMILTime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698