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 db423ccb31f8d85f5078207c3ba47dfc6b296197..0c1830ddb4443d0f406b0b853cfd7f39064e45c3 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.cc |
+++ b/content/browser/renderer_host/compositor_impl_android.cc |
@@ -750,6 +750,10 @@ void CompositorImpl::DidCommit() { |
root_window_->OnCompositingDidCommit(); |
} |
+void CompositorImpl::AttachLayerForReadback(scoped_refptr<cc::Layer> layer) { |
+ root_window_->GetLayer()->AddChild(layer); |
+} |
+ |
void CompositorImpl::RequestCopyOfOutputOnRootLayer( |
std::unique_ptr<cc::CopyOutputRequest> request) { |
root_window_->GetLayer()->RequestCopyOfOutput(std::move(request)); |