| 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 4f374a159fb4585f52b8aec01375e30c7e9e501e..de9d3357c228ed844581e5710786f2b608f67197 100644
|
| --- a/content/common/gpu/texture_image_transport_surface.cc
|
| +++ b/content/common/gpu/texture_image_transport_surface.cc
|
| @@ -123,7 +123,7 @@ bool TextureImageTransportSurface::Resize(const gfx::Size&) {
|
| }
|
|
|
| bool TextureImageTransportSurface::IsOffscreen() {
|
| - return false;
|
| + return parent_stub_ ? parent_stub_->surface()->IsOffscreen() : true;
|
| }
|
|
|
| bool TextureImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) {
|
|
|