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

Unified Diff: third_party/WebKit/Source/core/html/imports/HTMLImportLoader.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/imports/HTMLImportLoader.cpp
diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp
index 1ab0d082747de20d3a970582bdd22435455b2bbb..6a508f582eb542e395f4f6d9016b0109f8da9097 100644
--- a/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp
+++ b/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp
@@ -87,8 +87,9 @@ void HTMLImportLoader::dataReceived(Resource*,
}
void HTMLImportLoader::notifyFinished(Resource* resource) {
- // The writer instance indicates that a part of the document can be already loaded.
- // We don't take such a case as an error because the partially-loaded document has been visible from script at this point.
+ // The writer instance indicates that a part of the document can be already
+ // loaded. We don't take such a case as an error because the partially-loaded
+ // document has been visible from script at this point.
if (resource->loadFailedOrCanceled() && !m_writer) {
setState(StateError);
return;
@@ -141,7 +142,8 @@ void HTMLImportLoader::setState(State state) {
writer->end();
}
- // Since DocumentWriter::end() can let setState() reenter, we shouldn't refer to m_state here.
+ // Since DocumentWriter::end() can let setState() reenter, we shouldn't refer
+ // to m_state here.
if (state == StateLoaded)
m_document->setReadyState(Document::Complete);
if (state == StateLoaded || state == StateError)

Powered by Google App Engine
This is Rietveld 408576698