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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698