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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1797663002: Fixes failing instrumentation tests on Nakasi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 38a69836fdfb6e8e8357f915bf91ab0e9eede05f..bdcf3babe27b90e76e6c7abe27e4581d28e7a7cc 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -616,6 +616,10 @@ void CompositorImpl::DidCommit() {
root_window_->OnCompositingDidCommit();
}
+void CompositorImpl::AttachLayerForReadback(scoped_refptr<cc::Layer> layer) {
+ root_layer_->AddChild(layer);
+}
+
void CompositorImpl::RequestCopyOfOutputOnRootLayer(
scoped_ptr<cc::CopyOutputRequest> request) {
root_layer_->RequestCopyOfOutput(std::move(request));

Powered by Google App Engine
This is Rietveld 408576698