Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2337)

Unified Diff: content/common/gpu/client/gpu_video_decode_accelerator_host.h

Issue 10071038: RefCounted types should not have public destructors, content/browser part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/gpu_video_decode_accelerator_host.h
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.h b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
index c1479b8636d7a1b24374e6f1c54f77831cc6df02..8c5601a331b8a99e03c3ab1accb76c12fab2d522 100644
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.h
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
@@ -26,7 +26,6 @@ class GpuVideoDecodeAcceleratorHost
GpuVideoDecodeAcceleratorHost(GpuChannelHost* channel,
int32 decoder_route_id,
media::VideoDecodeAccelerator::Client* client);
- virtual ~GpuVideoDecodeAcceleratorHost();
// IPC::Channel::Listener implementation.
virtual void OnChannelError() OVERRIDE;
@@ -43,6 +42,8 @@ class GpuVideoDecodeAcceleratorHost
virtual void Destroy() OVERRIDE;
private:
+ virtual ~GpuVideoDecodeAcceleratorHost();
+
void Send(IPC::Message* message);
void OnBitstreamBufferProcessed(int32 bitstream_buffer_id);

Powered by Google App Engine
This is Rietveld 408576698