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

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

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) 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
Index: third_party/WebKit/Source/core/svg/SVGStringList.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGStringList.cpp b/third_party/WebKit/Source/core/svg/SVGStringList.cpp
index 8605f63aaeaf02338df7eba10570cffe687485bf..c726a3f4815dbb86198a565c87530e9d2a0daf43 100644
--- a/third_party/WebKit/Source/core/svg/SVGStringList.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGStringList.cpp
@@ -46,12 +46,15 @@ String SVGStringList::getItem(size_t index, ExceptionState& exceptionState) {
}
void SVGStringList::insertItemBefore(const String& newItem, size_t index) {
- // Spec: If the index is greater than or equal to numberOfItems, then the new item is appended to the end of the list.
+ // Spec: If the index is greater than or equal to numberOfItems, then the new
+ // item is appended to the end of the list.
if (index > m_values.size())
index = m_values.size();
- // Spec: Inserts a new item into the list at the specified position. The index of the item before which the new item is to be
- // inserted. The first item is number 0. If the index is equal to 0, then the new item is inserted at the front of the list.
+ // Spec: Inserts a new item into the list at the specified position. The index
+ // of the item before which the new item is to be inserted. The first item is
+ // number 0. If the index is equal to 0, then the new item is inserted at the
+ // front of the list.
m_values.insert(index, newItem);
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStringList.h ('k') | third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698