| Index: chrome/gpu/gpu_backing_store_win.cc
|
| diff --git a/chrome/gpu/gpu_backing_store_win.cc b/chrome/gpu/gpu_backing_store_win.cc
|
| index a38e8b9e2bbcd08dfff97a4f7f862a8c4a21b0e1..d5af441c89661170420697c4e75384c5af8d4f49 100644
|
| --- a/chrome/gpu/gpu_backing_store_win.cc
|
| +++ b/chrome/gpu/gpu_backing_store_win.cc
|
| @@ -130,8 +130,8 @@ void GpuBackingStoreWin::OnPaintToBackingStore(
|
| HANDLE section = win_util::GetSectionFromProcess(
|
| id.handle, source_process_handle, false /* read write */);
|
| CHECK(section);
|
| - TransportDIB* dib = TransportDIB::Map(section);
|
| - CHECK(dib);
|
| + scoped_ptr<TransportDIB> dib(TransportDIB::Map(section));
|
| + CHECK(dib.get());
|
|
|
| if (!backing_store_dib_) {
|
| backing_store_dib_ = CreateDIB(hdc_, size_.width(),
|
|
|