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

Unified Diff: third_party/WebKit/Source/core/dom/DOMStringList.cpp

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. 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/dom/DOMStringList.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMStringList.cpp b/third_party/WebKit/Source/core/dom/DOMStringList.cpp
index 3e3ad082459ddca19cf8fc0dab6bc2c13f0195ef..6ab3866a89334511dbc7ba40d2a4df5764adf3a0 100644
--- a/third_party/WebKit/Source/core/dom/DOMStringList.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMStringList.cpp
@@ -69,9 +69,9 @@ bool DOMStringList::contains(ExecutionContext* context,
ASSERT_NOT_REACHED();
}
- // FIXME: Currently, all consumers of DOMStringList store fairly small lists and thus an O(n)
- // algorithm is OK. But this may need to be optimized if larger amounts of data are
- // stored in m_strings.
+ // FIXME: Currently, all consumers of DOMStringList store fairly small lists
+ // and thus an O(n) algorithm is OK. But this may need to be optimized if
+ // larger amounts of data are stored in m_strings.
size_t count = m_strings.size();
for (size_t i = 0; i < count; ++i) {
if (m_strings[i] == string)
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMStringList.h ('k') | third_party/WebKit/Source/core/dom/DOMTokenList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698