| Index: third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| index 1187e24824105607e6f1c0e99311ba7a09742927..06a32f2b29391231ecc5c7c38ef72157e6e83697 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp
|
| @@ -163,11 +163,13 @@ void HTMLViewSourceDocument::processTagToken(const String& source,
|
| iter->valueRange().start - token.startIndex(), emptyAtom);
|
|
|
| if (name == srcsetAttr) {
|
| - index = addSrcset(source, index, iter->valueRange().end - token.startIndex());
|
| + index =
|
| + addSrcset(source, index, iter->valueRange().end - token.startIndex());
|
| } else {
|
| - bool isLink = name == srcAttr || name == hrefAttr;
|
| - index = addRange(source, index, iter->valueRange().end - token.startIndex(),
|
| - "html-attribute-value", isLink, tagName == aTag, value);
|
| + bool isLink = name == srcAttr || name == hrefAttr;
|
| + index =
|
| + addRange(source, index, iter->valueRange().end - token.startIndex(),
|
| + "html-attribute-value", isLink, tagName == aTag, value);
|
| }
|
|
|
| ++iter;
|
| @@ -317,9 +319,9 @@ Element* HTMLViewSourceDocument::addLink(const AtomicString& url,
|
| }
|
|
|
| int HTMLViewSourceDocument::addSrcset(const String& source,
|
| - int start,
|
| - int end) {
|
| - String srcset = source.substring(start, end-start);
|
| + int start,
|
| + int end) {
|
| + String srcset = source.substring(start, end - start);
|
| Vector<String> srclist;
|
| srcset.split(',', true, srclist);
|
| unsigned size = srclist.size();
|
|
|