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

Unified Diff: media/base/video_util_unittest.cc

Issue 16297002: Update media/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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 | « media/base/video_frame_unittest.cc ('k') | media/crypto/aes_decryptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_util_unittest.cc
diff --git a/media/base/video_util_unittest.cc b/media/base/video_util_unittest.cc
index 0e191d61ef65b72e7ee3268aecd6124e5ec72e2f..2daf2170665723ff4edc6132bbf63827f166f483 100644
--- a/media/base/video_util_unittest.cc
+++ b/media/base/video_util_unittest.cc
@@ -44,9 +44,11 @@ class VideoUtilTest : public testing::Test {
}
void CopyPlanes() {
- CopyYPlane(y_plane_.get(), y_stride_, height_, destination_frame_);
- CopyUPlane(u_plane_.get(), u_stride_, height_ / 2, destination_frame_);
- CopyVPlane(v_plane_.get(), v_stride_, height_ / 2, destination_frame_);
+ CopyYPlane(y_plane_.get(), y_stride_, height_, destination_frame_.get());
+ CopyUPlane(
+ u_plane_.get(), u_stride_, height_ / 2, destination_frame_.get());
+ CopyVPlane(
+ v_plane_.get(), v_stride_, height_ / 2, destination_frame_.get());
}
private:
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | media/crypto/aes_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698