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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.cc

Issue 16703020: Rewrite scoped_ptr<T>(NULL) to use the default ctor in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up insanity Created 7 years, 6 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
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/gpu_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
index 1d9afd4526417a94da737656ee7b3d8cf3ce2a50..f3bc4b8eb86bb3634dd80b94e9603713877a8a24 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
@@ -55,13 +55,11 @@ static bool MakeDecoderContextCurrent(
return true;
}
-GpuVideoDecodeAccelerator::GpuVideoDecodeAccelerator(
- int32 host_route_id,
- GpuCommandBufferStub* stub)
+GpuVideoDecodeAccelerator::GpuVideoDecodeAccelerator(int32 host_route_id,
+ GpuCommandBufferStub* stub)
: init_done_msg_(NULL),
host_route_id_(host_route_id),
stub_(stub),
- video_decode_accelerator_(NULL),
texture_target_(0) {
DCHECK(stub_);
stub_->AddDestructionObserver(this);
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698