Commit ff55a572 authored by danakj@chromium.org's avatar danakj@chromium.org

Make CompositorImpl::CompositeAndReadback fail and return false.

Removes the call to LayerTreeHost::CompositeAndReadback and just fail
immediately. This method should be replaced with an async readback
in order to get pixels again.

R=powei
BUG=252046

Review URL: https://codereview.chromium.org/273113004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269931 0039d316-1c4b-4281-b951-d872f2087c98
parent 86f50531
......@@ -368,10 +368,7 @@ void CompositorImpl::SetHasTransparentBackground(bool flag) {
}
bool CompositorImpl::CompositeAndReadback(void *pixels, const gfx::Rect& rect) {
if (host_)
return host_->CompositeAndReadback(pixels, rect);
else
return false;
return false;
}
cc::UIResourceId CompositorImpl::GenerateUIResourceFromUIResourceBitmap(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment