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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTableRowElement.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/html/HTMLTableRowElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp
index 3f61e1b6b45379943ee10c886deaf96e6e6c47d0..c9e85508fd0e1cf9a4248e39f637c8133937744a 100644
--- a/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp
@@ -97,9 +97,9 @@ HTMLElement* HTMLTableRowElement::insertCell(int index,
int numCells = children ? children->length() : 0;
if (index < -1 || index > numCells) {
exceptionState.throwDOMException(
- IndexSizeError, "The value provided (" + String::number(index) +
- ") is outside the range [-1, " +
- String::number(numCells) + "].");
+ IndexSizeError,
+ "The value provided (" + String::number(index) +
+ ") is outside the range [-1, " + String::number(numCells) + "].");
return nullptr;
}
@@ -119,9 +119,9 @@ void HTMLTableRowElement::deleteCell(int index,
// elements in the cells collection, then throw "IndexSizeError".
if (index < -1 || index >= numCells) {
exceptionState.throwDOMException(
- IndexSizeError, "The value provided (" + String::number(index) +
- ") is outside the range [0, " +
- String::number(numCells) + ").");
+ IndexSizeError,
+ "The value provided (" + String::number(index) +
+ ") is outside the range [0, " + String::number(numCells) + ").");
return;
}
// 2. If index is −1, remove the last element in the cells collection

Powered by Google App Engine
This is Rietveld 408576698