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

Unified Diff: cc/trees/proxy_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/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 1235c4b512cefe8fcca12adcda63751f3f63121d..64ca1848f2c1fe2d65771b89338a525f0d4a16b8 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -470,6 +470,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