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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElementRareData.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/SVGElementRareData.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp b/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
index 0ec4b5211cd08ffc0f299c9dfa5a86f2cc817234..d04a206033fbc74441488f6710fba627d014fbe0 100644
--- a/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp
@@ -26,7 +26,9 @@ ComputedStyle* SVGElementRareData::overrideComputedStyle(
if (!m_useOverrideComputedStyle)
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.
+ // 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,
@@ -54,8 +56,8 @@ void SVGElementRareData::processWeakMembers(Visitor* visitor) {
m_cursorElement = nullptr;
if (!ThreadHeap::isHeapObjectAlive(m_cursorImageValue)) {
- // The owning SVGElement is still alive and if it is pointing to an SVGCursorElement
- // we unregister it when the CSSCursorImageValue dies.
+ // The owning SVGElement is still alive and if it is pointing to an
+ // SVGCursorElement we unregister it when the CSSCursorImageValue dies.
if (m_cursorElement) {
m_cursorElement->removeReferencedElement(m_owner);
m_cursorElement = nullptr;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGEnumeration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698