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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: rebase + update Created 3 years, 7 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/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 3d3b4a6539d88103df901bc209211713999a9d3c..805be33924d1932b6f0a9dc36dfdd47286afb2ed 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -473,6 +473,11 @@ void ProxyImpl::NeedsImplSideInvalidation() {
scheduler_->SetNeedsImplSideInvalidation();
}
+void ProxyImpl::NotifyImageDecodeRequestFinished() {
+ DCHECK(IsImplThread());
+ SetNeedsCommitOnImplThread();
+}
+
void ProxyImpl::WillBeginImplFrame(const BeginFrameArgs& args) {
DCHECK(IsImplThread());
layer_tree_host_impl_->WillBeginImplFrame(args);

Powered by Google App Engine
This is Rietveld 408576698