| Index: content/common/gpu/gpu_command_buffer_stub.h
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
|
| index 2c81c98ac6abed12d3ee487a700a633f719a07b5..3f149cb148f54a60130d332ed820d708869a2475 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.h
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.h
|
| @@ -84,10 +84,11 @@ class GpuCommandBufferStub
|
| public:
|
| class DestructionObserver {
|
| public:
|
| - ~DestructionObserver() {}
|
| -
|
| // Called in Destroy(), before the context/surface are released.
|
| virtual void OnWillDestroyStub(GpuCommandBufferStub* stub) = 0;
|
| +
|
| + protected:
|
| + virtual ~DestructionObserver() {}
|
| };
|
|
|
| GpuCommandBufferStub(
|
|
|