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

Unified Diff: Source/core/html/HTMLNameCollection.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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
« no previous file with comments | « Source/core/html/HTMLMeterElement.cpp ('k') | Source/core/html/HTMLOListElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLNameCollection.cpp
diff --git a/Source/core/html/HTMLNameCollection.cpp b/Source/core/html/HTMLNameCollection.cpp
index de2fa6dd273014a6245913806577acaa5caf03b2..6e637b21300df94a0775a299b93dc016cc47fe8a 100644
--- a/Source/core/html/HTMLNameCollection.cpp
+++ b/Source/core/html/HTMLNameCollection.cpp
@@ -62,7 +62,7 @@ Element* HTMLNameCollection::virtualItemAfter(unsigned& offsetInArray, Element*
for (; current; current = ElementTraversal::next(current, ownerNode())) {
switch (type()) {
case WindowNamedItems:
- // find only images, forms, applets, embeds and objects by name,
+ // find only images, forms, applets, embeds and objects by name,
// but anything by id
if (current->hasTagName(imgTag)
|| current->hasTagName(formTag)
@@ -76,7 +76,7 @@ Element* HTMLNameCollection::virtualItemAfter(unsigned& offsetInArray, Element*
return current;
break;
case DocumentNamedItems:
- // find images, forms, applets, embeds, objects and iframes by name,
+ // find images, forms, applets, embeds, objects and iframes by name,
// applets and object by id, and images by id but only if they have
// a name attribute (this very strange rule matches IE)
if (current->hasTagName(formTag) || current->hasTagName(embedTag) || current->hasTagName(iframeTag)) {
« no previous file with comments | « Source/core/html/HTMLMeterElement.cpp ('k') | Source/core/html/HTMLOListElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698