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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasGradient.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/modules/canvas2d/CanvasGradient.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp
index 2caa7508270d95560a92d67e4a22f439a26cf26a..c3cdfc341e104ca8259232b985794111d00beca6 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp
@@ -46,9 +46,10 @@ void CanvasGradient::addColorStop(float value,
const String& colorString,
ExceptionState& exceptionState) {
if (!(value >= 0 && value <= 1.0f)) {
- exceptionState.throwDOMException(
- IndexSizeError, "The provided value (" + String::number(value) +
- ") is outside the range (0.0, 1.0).");
+ exceptionState.throwDOMException(IndexSizeError,
+ "The provided value (" +
+ String::number(value) +
+ ") is outside the range (0.0, 1.0).");
return;
}

Powered by Google App Engine
This is Rietveld 408576698