Index: content/common/gpu/texture_image_transport_surface.cc |
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc |
index 4ad192e0213517e22becf6480779fec264aa2faa..b11f8c0bb53ed03fddd9d35bf6b08180a13ae07b 100644 |
--- a/content/common/gpu/texture_image_transport_surface.cc |
+++ b/content/common/gpu/texture_image_transport_surface.cc |
@@ -175,6 +175,7 @@ unsigned int TextureImageTransportSurface::GetBackingFrameBufferObject() { |
} |
void TextureImageTransportSurface::SetBackbufferAllocation(bool allocation) { |
+ DCHECK(!is_swap_buffers_pending_); |
if (backbuffer_suggested_allocation_ == allocation) |
return; |
backbuffer_suggested_allocation_ = allocation; |