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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: update Created 3 years, 9 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 d9f1a22aefd1c60effdaa1f527280a69a8ceda65..1445ade3a90bdeade100e2503b2b74ccea4fd847 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2306,7 +2306,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