Index: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp |
index b1f5a453be956e874a7801e127d11b8693f5b204..2499820afccd9325be227ee3be7f9dcba2a68822 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp |
@@ -860,8 +860,9 @@ void TokenPreloadScanner::updatePredictedBaseURL(const Token& token) { |
ASSERT(m_predictedBaseElementURL.isEmpty()); |
if (const typename Token::Attribute* hrefAttribute = |
token.getAttributeItem(hrefAttr)) { |
- KURL url(m_documentURL, stripLeadingAndTrailingHTMLSpaces( |
- hrefAttribute->value8BitIfNecessary())); |
+ KURL url(m_documentURL, |
+ stripLeadingAndTrailingHTMLSpaces( |
+ hrefAttribute->value8BitIfNecessary())); |
m_predictedBaseElementURL = |
url.isValid() && !url.protocolIsData() ? url.copy() : KURL(); |
} |