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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: diff plumbing 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/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index afced7e5c421a56d9cd9e32cb309272c6b659e5f..f7806037f99c37b785f299961255ed74c34a1fa6 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -463,6 +463,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