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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMapElement.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments 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/html/HTMLMapElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMapElement.cpp b/third_party/WebKit/Source/core/html/HTMLMapElement.cpp
index 5f3804e5daeedfc1528dbadfd219f621441e5098..930a2c0a2343ab999893d49056ad0b8477e2468a 100644
--- a/third_party/WebKit/Source/core/html/HTMLMapElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMapElement.cpp
@@ -64,8 +64,8 @@ HTMLImageElement* HTMLMapElement::imageElement() {
for (unsigned i = 0; Element* curr = images->item(i); ++i) {
DCHECK(isHTMLImageElement(curr));
- // The HTMLImageElement's useMap() value includes the '#' symbol at the beginning,
- // which has to be stripped off.
+ // The HTMLImageElement's useMap() value includes the '#' symbol at the
+ // beginning, which has to be stripped off.
HTMLImageElement& imageElement = toHTMLImageElement(*curr);
String useMapName =
imageElement.getAttribute(usemapAttr).getString().substring(1);
@@ -80,7 +80,8 @@ void HTMLMapElement::parseAttribute(const QualifiedName& name,
const AtomicString& oldValue,
const AtomicString& value) {
// FIXME: This logic seems wrong for XML documents.
- // Either the id or name will be used depending on the order the attributes are parsed.
+ // Either the id or name will be used depending on the order the attributes
+ // are parsed.
if (name == idAttr || name == nameAttr) {
if (name == idAttr) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698