| Index: content/common/gpu/image_transport_surface_win.cc
|
| diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
|
| index 9777e2727375131aec70645f10566fc662ccbc6f..33813c7ea47dc0e19a57a03a3725d85b1723d29b 100644
|
| --- a/content/common/gpu/image_transport_surface_win.cc
|
| +++ b/content/common/gpu/image_transport_surface_win.cc
|
| @@ -118,7 +118,8 @@ bool PbufferImageTransportSurface::DeferDraws() {
|
| // IOSurface in use by an earlier SwapBuffers. If a Swap is pending, abort
|
| // processing of the command by returning true and unschedule until the Swap
|
| // Ack arrives.
|
| - DCHECK(!did_unschedule_);
|
| + if (did_unschedule_)
|
| + return true;
|
| if (is_swap_buffers_pending_) {
|
| did_unschedule_ = true;
|
| helper_->SetScheduled(false);
|
|
|