| Index: content/browser/compositor/delegated_frame_host.cc
|
| diff --git a/content/browser/compositor/delegated_frame_host.cc b/content/browser/compositor/delegated_frame_host.cc
|
| index d416ae8a5182e03b8f6ab5a2bd2cec36034d75e5..3e115ca48040ff60b2ee86fdde0987b9529155ea 100644
|
| --- a/content/browser/compositor/delegated_frame_host.cc
|
| +++ b/content/browser/compositor/delegated_frame_host.cc
|
| @@ -127,7 +127,12 @@ bool DelegatedFrameHost::ShouldCreateResizeLock() {
|
|
|
| void DelegatedFrameHost::RequestCopyOfOutput(
|
| scoped_ptr<cc::CopyOutputRequest> request) {
|
| - client_->GetLayer()->RequestCopyOfOutput(request.Pass());
|
| + if (use_surfaces_) {
|
| + // TODO(jbauman): Make this work with surfaces.
|
| + request->SendEmptyResult();
|
| + } else {
|
| + client_->GetLayer()->RequestCopyOfOutput(request.Pass());
|
| + }
|
| }
|
|
|
| void DelegatedFrameHost::CopyFromCompositingSurface(
|
|
|