| Index: content/renderer/gpu/mailbox_output_surface.cc
|
| diff --git a/content/renderer/gpu/mailbox_output_surface.cc b/content/renderer/gpu/mailbox_output_surface.cc
|
| index 4a598d4c60647d3e24225d10c56895c28fd86912..5747a6861f9a03c8eaaee373a395b2aa70ca2a9c 100644
|
| --- a/content/renderer/gpu/mailbox_output_surface.cc
|
| +++ b/content/renderer/gpu/mailbox_output_surface.cc
|
| @@ -45,6 +45,9 @@ MailboxOutputSurface::MailboxOutputSurface(
|
| }
|
|
|
| MailboxOutputSurface::~MailboxOutputSurface() {
|
| +}
|
| +
|
| +void MailboxOutputSurface::DetachFromClient() {
|
| DiscardBackbuffer();
|
| while (!pending_textures_.empty()) {
|
| if (pending_textures_.front().texture_id) {
|
| @@ -53,6 +56,7 @@ MailboxOutputSurface::~MailboxOutputSurface() {
|
| }
|
| pending_textures_.pop_front();
|
| }
|
| + cc::OutputSurface::DetachFromClient();
|
| }
|
|
|
| void MailboxOutputSurface::EnsureBackbuffer() {
|
|
|