| Index: content/browser/compositor/surface_utils.cc
|
| diff --git a/content/browser/compositor/surface_utils.cc b/content/browser/compositor/surface_utils.cc
|
| index e0e49162781b9b649f38fb25a2d5e09d765082b5..4cbd80dfaba4f2b39b2b912799351c9e32a10d41 100644
|
| --- a/content/browser/compositor/surface_utils.cc
|
| +++ b/content/browser/compositor/surface_utils.cc
|
| @@ -76,7 +76,7 @@ void PrepareTextureCopyOutputResult(
|
| if (!bitmap->tryAllocPixels(SkImageInfo::Make(
|
| dst_size_in_pixel.width(), dst_size_in_pixel.height(), color_type,
|
| kOpaque_SkAlphaType))) {
|
| - scoped_callback_runner.Reset(base::Bind(
|
| + scoped_callback_runner.ReplaceClosure(base::Bind(
|
| callback, SkBitmap(), content::READBACK_BITMAP_ALLOCATION_FAILURE));
|
| return;
|
| }
|
|
|