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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 10749019: VideoDecodeAccelerator now SupportsWeakPtr instead of being RefCountedThreadSafe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index f4c3c63c71d0ef6c1d04bfe4901a759e886d673b..338849f10211f6231141f70beb7e64bbde808f61 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -159,7 +159,7 @@ class MEDIA_EXPORT GpuVideoDecoder
scoped_refptr<Factories> factories_;
// Populated during Initialize() (on success) and unchanged thereafter.
- scoped_refptr<VideoDecodeAccelerator> vda_;
+ scoped_ptr<VideoDecodeAccelerator> vda_;
// Callbacks that are !is_null() only during their respective operation being
// asynchronously executed.

Powered by Google App Engine
This is Rietveld 408576698