| Index: athena/content/content_proxy.cc
|
| diff --git a/athena/content/content_proxy.cc b/athena/content/content_proxy.cc
|
| index 2c962e7c72c3d46fe8f4592cba5928a50b979140..72c8a8d957c1e097948aee54ddc0d65ccaa528c5 100644
|
| --- a/athena/content/content_proxy.cc
|
| +++ b/athena/content/content_proxy.cc
|
| @@ -157,12 +157,15 @@ void ContentProxy::CreateProxyContent() {
|
| kAlpha_8_SkColorType);
|
| }
|
|
|
| -void ContentProxy::OnContentImageRead(bool success, const SkBitmap& bitmap) {
|
| +void ContentProxy::OnContentImageRead(
|
| + const SkBitmap& bitmap,
|
| + const content::ReadbackResponse& response) {
|
| // Now we can hide the content. Note that after hiding we are freeing memory
|
| // and if something goes wrong we will end up with an empty page.
|
| HideOriginalContent();
|
|
|
| - if (!success || bitmap.empty() || bitmap.isNull())
|
| + if ((response != content::READBACK_SUCCESS) || bitmap.empty() ||
|
| + bitmap.isNull())
|
| return;
|
|
|
| // While we are encoding the image, we keep the current image as reference
|
|
|