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

Unified Diff: third_party/WebKit/Source/core/svg/SVGStopElement.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/SVGStopElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGStopElement.cpp b/third_party/WebKit/Source/core/svg/SVGStopElement.cpp
index 130f807bce3abd43a8b5c5d7eb006190672d3359..1ed3eeb894dd8a76ab158a3da476c905d7ac7fda 100644
--- a/third_party/WebKit/Source/core/svg/SVGStopElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGStopElement.cpp
@@ -62,9 +62,10 @@ bool SVGStopElement::layoutObjectIsNeeded(const ComputedStyle&) {
Color SVGStopElement::stopColorIncludingOpacity() const {
const ComputedStyle* style =
layoutObject() ? layoutObject()->style() : nullptr;
- // FIXME: This check for null style exists to address Bug WK 90814, a rare crash condition in
- // which the layoutObject or style is null. This entire class is scheduled for removal (Bug WK 86941)
- // and we will tolerate this null check until then.
+ // FIXME: This check for null style exists to address Bug WK 90814, a rare
+ // crash condition in which the layoutObject or style is null. This entire
+ // class is scheduled for removal (Bug WK 86941) and we will tolerate this
+ // null check until then.
if (!style)
return Color(Color::transparent); // Transparent black.
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStaticStringList.h ('k') | third_party/WebKit/Source/core/svg/SVGStringList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698