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 509298422ce6b25e749c52b2abf6d77c232d3649..34b1d7a63605057c86ccad7fc2d2d448dca11da6 100644 |
--- a/content/common/gpu/texture_image_transport_surface.cc |
+++ b/content/common/gpu/texture_image_transport_surface.cc |
@@ -161,7 +161,8 @@ void TextureImageTransportSurface::OnResize(gfx::Size size, |
DCHECK_GE(size.height(), 1); |
current_size_ = size; |
scale_factor_ = scale_factor; |
- CreateBackTexture(); |
+ if (backbuffer_suggested_allocation_) |
+ CreateBackTexture(); |
} |
void TextureImageTransportSurface::OnWillDestroyStub() { |