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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 2513413008: [ImageResource 0a] Do not notify ResourceClient/ImageResourceObserver of finish twice (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index aa2cbc8f9a7c556d361e4acf17368fa54556bda6..b0c154d00a5ac4ac27bb680ff779b5a0ffc6588f 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -338,8 +338,7 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
virtual void checkNotify();
- enum class MarkFinishedOption { ShouldMarkFinished, DoNotMarkFinished };
- void notifyClientsInternal(MarkFinishedOption);
yhirano 2016/11/29 02:23:30 Is it a good idea to merge this function to checkN
hiroshige 2016/11/29 07:54:31 Done.
+ void notifyClientsInternal();
void markClientFinished(ResourceClient*);
virtual bool hasClientsOrObservers() const {
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ImageResource.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698