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

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 ca08b6f24da33a3b3a56811fee6ffd2e2cf9bc5a..0d561d8a521aa1ff51c0774c4ed5113b1557a66c 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2345,7 +2345,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