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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextQuery.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
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
index 734295b0b61443a8ac278e1b34a1cef897971445..9669d3e554caeb9dfe5ff7619b34d6fbf4fc8fbf 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
@@ -64,7 +64,8 @@ static inline InlineFlowBox* flowBoxForLayoutObject(
}
if (layoutObject->isLayoutInline()) {
- // We're given a LayoutSVGInline or objects that derive from it (LayoutSVGTSpan / LayoutSVGTextPath)
+ // We're given a LayoutSVGInline or objects that derive from it
+ // (LayoutSVGTSpan / LayoutSVGTextPath)
LayoutInline* layoutInline = toLayoutInline(layoutObject);
// LayoutSVGInline only ever contains a single line box.
@@ -231,7 +232,8 @@ MetricsList::const_iterator findMetricsForCharacter(
const MetricsList& metricsList,
const SVGTextFragment& fragment,
unsigned startInFragment) {
- // Find the text metrics cell that starts at or contains the character at |startInFragment|.
+ // Find the text metrics cell that starts at or contains the character at
+ // |startInFragment|.
MetricsList::const_iterator metrics =
metricsList.begin() + fragment.metricsListOffset;
unsigned fragmentOffset = 0;
@@ -447,7 +449,8 @@ static FloatRect physicalGlyphExtents(const QueryData* queryData,
FloatSize(std::max<float>(metrics.width(), 0),
std::max<float>(metrics.height(), 0)));
- // If RTL, adjust the starting point to align with the LHS of the glyph bounding box.
+ // If RTL, adjust the starting point to align with the LHS of the glyph
+ // bounding box.
if (!queryData->textBox->isLeftToRightDirection()) {
if (queryData->isVerticalText)
glyphExtents.move(0, -glyphExtents.height());
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698