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

Unified Diff: third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h

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/properties/SVGAnimatedProperty.h
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h
index 272a37f8d010aa04bd2fcbeacf0e4da180fb3773..22100a5d747b6ee5ab9ee85002090149b485a0ff 100644
--- a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h
+++ b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h
@@ -160,8 +160,9 @@ template <typename Property,
class SVGAnimatedProperty : public SVGAnimatedPropertyCommon<Property> {
public:
bool needsSynchronizeAttribute() override {
- // DOM attribute synchronization is only needed if tear-off is being touched from javascript or the property is being animated.
- // This prevents unnecessary attribute creation on target element.
+ // DOM attribute synchronization is only needed if tear-off is being touched
+ // from javascript or the property is being animated. This prevents
+ // unnecessary attribute creation on target element.
return m_baseValueUpdated || this->isAnimating();
}
@@ -172,8 +173,8 @@ class SVGAnimatedProperty : public SVGAnimatedPropertyCommon<Property> {
// SVGAnimated* DOM Spec implementations:
- // baseVal()/setBaseVal()/animVal() are only to be used from SVG DOM implementation.
- // Use currentValue() from C++ code.
+ // baseVal()/setBaseVal()/animVal() are only to be used from SVG DOM
+ // implementation. Use currentValue() from C++ code.
PrimitiveType baseVal() { return this->baseValue()->value(); }
void setBaseVal(PrimitiveType value, ExceptionState& exceptionState) {
@@ -235,8 +236,9 @@ class SVGAnimatedProperty<Property, TearOffType, void>
}
bool needsSynchronizeAttribute() override {
- // DOM attribute synchronization is only needed if tear-off is being touched from javascript or the property is being animated.
- // This prevents unnecessary attribute creation on target element.
+ // DOM attribute synchronization is only needed if tear-off is being touched
+ // from javascript or the property is being animated. This prevents
+ // unnecessary attribute creation on target element.
return m_baseValTearOff || this->isAnimating();
}
@@ -310,7 +312,8 @@ class SVGAnimatedProperty<Property, void, void>
}
bool needsSynchronizeAttribute() override {
- // DOM attribute synchronization is only needed if the property is being animated.
+ // DOM attribute synchronization is only needed if the property is being
+ // animated.
return this->isAnimating();
}

Powered by Google App Engine
This is Rietveld 408576698