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

Unified Diff: third_party/WebKit/Source/core/fetch/DocumentResource.cpp

Issue 2210473002: Mark ResourceClient/ImageResourceObserver finished just before notifying (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 4 years, 4 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/fetch/DocumentResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResource.cpp b/third_party/WebKit/Source/core/fetch/DocumentResource.cpp
index f6b8b51e664bc1c2c67dc98fb619f533dc3d4a75..bdfdfeab1a838cd7e35c3807c0d355d5c082e733 100644
--- a/third_party/WebKit/Source/core/fetch/DocumentResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/DocumentResource.cpp
@@ -54,14 +54,14 @@ DEFINE_TRACE(DocumentResource)
Resource::trace(visitor);
}
-void DocumentResource::checkNotify()
+void DocumentResource::checkNotify(MarkFinishedOption markFinishedOption)
{
if (m_data && mimeTypeAllowed()) {
// We don't need to create a new frame because the new document belongs to the parent UseElement.
m_document = createDocument(response().url());
m_document->setContent(decodedText());
}
- Resource::checkNotify();
+ Resource::checkNotify(markFinishedOption);
}
bool DocumentResource::mimeTypeAllowed() const

Powered by Google App Engine
This is Rietveld 408576698