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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: update Created 3 years, 8 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: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 40cfdfd14a95a54b874725eaefb21aead859bc82..facd71c13073dea5ae99c0ee24d0166fd4448e31 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2334,7 +2334,7 @@ void LayerTreeHostImpl::ImageDecodeFinished(
bool decode_succeeded) {
completed_image_decode_callbacks_.emplace_back(
base::Bind(embedder_callback, decode_succeeded));
- client_->SetNeedsCommitOnImplThread();
+ client_->NotifyImageDecodeRequestFinished();
}
std::vector<base::Closure>

Powered by Google App Engine
This is Rietveld 408576698