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 eeb3c9b00d95a8701ea80da4ae7d48286a492365..aa30711778f39c10a2121a6c4108c5c39ffa7c9c 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.h |
+++ b/content/common/gpu/gpu_command_buffer_stub.h |
@@ -83,10 +83,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( |