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

Issue 2308393002: Mark ResourceClient/ImageResourceObserver finished just before notifying (Closed)

Created:
4 years, 3 months ago by hiroshige
Modified:
4 years, 3 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2785
Target Ref:
refs/pending/branch-heads/2785
Project:
chromium
Visibility:
Public.

Description

Mark ResourceClient/ImageResourceObserver finished just before notifying Previously, all clients (except for awaiting ones) and observers are marked finished just after checkNotify() is called. However, it is possible that we have clients in |m_client| newly added during ResourceClient::notifyFinished(), and such new clients shouldn't be marked finished without calling notifyFinished(). This CL marks a client/observer just before notifyFinished()/ imageNotifyFinished() is called for the client/observer, and removes markClientsAndObserversFinished() methods. This CL also introduces MarkFinishedOption for checkNotify() for multipart images: In multipart images we call notifyFinished()/imageNotifyFinished() without marking clients/observers finished when the first part ends. BUG=633696 Review-Url: https://codereview.chromium.org/2210473002 Cr-Commit-Position: refs/heads/master@{#414423} (cherry picked from commit 62bb97b2652c495598942879e66bd7f1a5dbb918) Committed: https://chromium.googlesource.com/chromium/src/+/f72812fd4fc8d47803ecb6921e4e78c762ecf56f

Patch Set 1 #

Messages

Total messages: 2 (1 generated)
hiroshige
4 years, 3 months ago (2016-09-05 07:03:02 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f72812fd4fc8d47803ecb6921e4e78c762ecf56f.

Powered by Google App Engine
This is Rietveld 408576698