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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLengthTearOff.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/SVGLengthTearOff.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
index 1072cfac439f5b23d289bd378cd37e8c59592772..f251e85337265801b6035b9d2464f8ca209ff899 100644
--- a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
@@ -201,8 +201,9 @@ void SVGLengthTearOff::newValueSpecifiedUnits(unsigned short unitType,
}
if (!isValidLengthUnit(unitType)) {
exceptionState.throwDOMException(
- NotSupportedError, "Cannot set value with unknown or invalid units (" +
- String::number(unitType) + ").");
+ NotSupportedError,
+ "Cannot set value with unknown or invalid units (" +
+ String::number(unitType) + ").");
return;
}
target()->newValueSpecifiedUnits(toCSSUnitType(unitType),
@@ -218,8 +219,9 @@ void SVGLengthTearOff::convertToSpecifiedUnits(unsigned short unitType,
}
if (!isValidLengthUnit(unitType)) {
exceptionState.throwDOMException(
- NotSupportedError, "Cannot convert to unknown or invalid units (" +
- String::number(unitType) + ").");
+ NotSupportedError,
+ "Cannot convert to unknown or invalid units (" +
+ String::number(unitType) + ").");
return;
}
if ((target()->isRelative() ||
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGLengthList.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698