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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp

Issue 2400783002: Reformat comments in core/layout/svg (Closed)
Patch Set: 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/layout/svg/LayoutSVGResourcePattern.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
index 84314013b92176204ac850431b20c8a974940ec7..a7f45f87a653c00148579488d654eaa1be1c915a 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
@@ -69,9 +69,10 @@ PatternData* LayoutSVGResourcePattern::patternForLayoutObject(
const LayoutObject& object) {
ASSERT(!m_shouldCollectPatternAttributes);
- // FIXME: the double hash lookup is needed to guard against paint-time invalidation
- // (painting animated images may trigger layout invals which delete our map entry).
- // Hopefully that will be addressed at some point, and then we can optimize the lookup.
+ // FIXME: the double hash lookup is needed to guard against paint-time
+ // invalidation (painting animated images may trigger layout invals which
+ // delete our map entry). Hopefully that will be addressed at some point, and
+ // then we can optimize the lookup.
if (PatternData* currentData = m_patternMap.get(&object))
return currentData;
@@ -141,8 +142,9 @@ SVGPaintServer LayoutSVGResourcePattern::preparePaintServer(
m_shouldCollectPatternAttributes = false;
}
- // Spec: When the geometry of the applicable element has no width or height and objectBoundingBox is specified,
- // then the given effect (e.g. a gradient or a filter) will be ignored.
+ // Spec: When the geometry of the applicable element has no width or height
+ // and objectBoundingBox is specified, then the given effect (e.g. a gradient
+ // or a filter) will be ignored.
FloatRect objectBoundingBox = object.objectBoundingBox();
if (attributes().patternUnits() ==
SVGUnitTypes::kSvgUnitTypeObjectboundingbox &&

Powered by Google App Engine
This is Rietveld 408576698