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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/SVGTextContentElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
index aca2e19f769bf77b34e33ec2ca1ad17c165a2784..ab4458f0dc234bb7563f13cafa2c8b1711cd1f9a 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
@@ -113,8 +113,9 @@ float SVGTextContentElement::getSubStringLength(
unsigned numberOfChars = getNumberOfChars();
if (charnum >= numberOfChars) {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMaximumBound(
- "charnum", charnum, getNumberOfChars()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMaximumBound("charnum", charnum,
+ getNumberOfChars()));
return 0.0f;
}
@@ -131,8 +132,9 @@ SVGPointTearOff* SVGTextContentElement::getStartPositionOfChar(
if (charnum >= getNumberOfChars()) {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMaximumBound(
- "charnum", charnum, getNumberOfChars()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMaximumBound("charnum", charnum,
+ getNumberOfChars()));
return nullptr;
}
@@ -149,8 +151,9 @@ SVGPointTearOff* SVGTextContentElement::getEndPositionOfChar(
if (charnum >= getNumberOfChars()) {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMaximumBound(
- "charnum", charnum, getNumberOfChars()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMaximumBound("charnum", charnum,
+ getNumberOfChars()));
return nullptr;
}
@@ -167,8 +170,9 @@ SVGRectTearOff* SVGTextContentElement::getExtentOfChar(
if (charnum >= getNumberOfChars()) {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMaximumBound(
- "charnum", charnum, getNumberOfChars()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMaximumBound("charnum", charnum,
+ getNumberOfChars()));
return nullptr;
}
@@ -182,8 +186,9 @@ float SVGTextContentElement::getRotationOfChar(unsigned charnum,
if (charnum >= getNumberOfChars()) {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMaximumBound(
- "charnum", charnum, getNumberOfChars()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMaximumBound("charnum", charnum,
+ getNumberOfChars()));
return 0.0f;
}
@@ -204,8 +209,9 @@ void SVGTextContentElement::selectSubString(unsigned charnum,
unsigned numberOfChars = getNumberOfChars();
if (charnum >= numberOfChars) {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMaximumBound(
- "charnum", charnum, getNumberOfChars()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMaximumBound("charnum", charnum,
+ getNumberOfChars()));
return;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStringList.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTransform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698