| Index: ui/snapshot/snapshot_async.cc
|
| diff --git a/ui/snapshot/snapshot_async.cc b/ui/snapshot/snapshot_async.cc
|
| index 5f18225fcf431dc7a463525f58ed001f577002d2..cbb58cc085b6a7a9b72ee2bec3268d3d72000f38 100644
|
| --- a/ui/snapshot/snapshot_async.cc
|
| +++ b/ui/snapshot/snapshot_async.cc
|
| @@ -74,7 +74,7 @@ void SnapshotAsync::ScaleCopyOutputResult(
|
| // be used here because it's not in content/public. Move the scaling code
|
| // somewhere so that it can be reused here.
|
| base::PostTaskAndReplyWithResult(
|
| - background_task_runner,
|
| + background_task_runner.get(),
|
| FROM_HERE,
|
| base::Bind(ScaleBitmap, *result->TakeBitmap(), target_size),
|
| base::Bind(&OnFrameScalingFinished, callback));
|
| @@ -94,7 +94,7 @@ void SnapshotAsync::EncodeCopyOutputResult(
|
| // be used here because it's not in content/public. Move the scaling code
|
| // somewhere so that it can be reused here.
|
| base::PostTaskAndReplyWithResult(
|
| - background_task_runner,
|
| + background_task_runner.get(),
|
| FROM_HERE,
|
| base::Bind(EncodeBitmap, *result->TakeBitmap()),
|
| callback);
|
|
|