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

Unified Diff: Source/core/dom/ProcessingInstruction.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/dom/PositionIterator.cpp ('k') | Source/core/dom/ProgressEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ProcessingInstruction.cpp
diff --git a/Source/core/dom/ProcessingInstruction.cpp b/Source/core/dom/ProcessingInstruction.cpp
index 89b0fc103fab76f262f04a11fba15753cbf4e836..4706fe0951ec76f5e96e7476d695c5f6523ec245 100644
--- a/Source/core/dom/ProcessingInstruction.cpp
+++ b/Source/core/dom/ProcessingInstruction.cpp
@@ -146,14 +146,14 @@ void ProcessingInstruction::checkStyleSheet()
m_cachedSheet->removeClient(this);
m_cachedSheet = 0;
}
-
+
String url = document()->completeURL(href).string();
if (!dispatchBeforeLoadEvent(url))
return;
-
+
m_loading = true;
document()->styleSheetCollection()->addPendingSheet();
-
+
FetchRequest request(ResourceRequest(document()->completeURL(href)), CachedResourceInitiatorTypeNames::processinginstruction);
if (m_isXSL)
m_cachedSheet = document()->fetcher()->requestXSLStyleSheet(request);
@@ -260,7 +260,7 @@ bool ProcessingInstruction::offsetInCharacters() const
return true;
}
-int ProcessingInstruction::maxCharacterOffset() const
+int ProcessingInstruction::maxCharacterOffset() const
{
return static_cast<int>(m_data.length());
}
@@ -269,7 +269,7 @@ void ProcessingInstruction::addSubresourceAttributeURLs(ListHashSet<KURL>& urls)
{
if (!sheet())
return;
-
+
addSubresourceURL(urls, sheet()->baseURL());
}
@@ -288,7 +288,7 @@ void ProcessingInstruction::removedFrom(ContainerNode* insertionPoint)
Node::removedFrom(insertionPoint);
if (!insertionPoint->inDocument())
return;
-
+
document()->styleSheetCollection()->removeStyleSheetCandidateNode(this);
RefPtr<StyleSheet> removedSheet = m_sheet;
« no previous file with comments | « Source/core/dom/PositionIterator.cpp ('k') | Source/core/dom/ProgressEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698