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

Side by Side Diff: media/base/mac/video_frame_mac_unittests.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « media/base/mac/video_frame_mac.cc ('k') | media/base/mac/videotoolbox_glue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/mac/video_frame_mac.h" 5 #include "media/base/mac/video_frame_mac.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/callback_helpers.h" 12 #include "base/callback_helpers.h"
11 #include "media/base/mac/corevideo_glue.h" 13 #include "media/base/mac/corevideo_glue.h"
12 #include "media/base/video_frame.h" 14 #include "media/base/video_frame.h"
13 15
14 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
15 17
16 namespace media { 18 namespace media {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 ASSERT_TRUE(frame.get()); 126 ASSERT_TRUE(frame.get());
125 EXPECT_EQ(pb.get(), frame->cv_pixel_buffer()); 127 EXPECT_EQ(pb.get(), frame->cv_pixel_buffer());
126 EXPECT_EQ(format_pair.chrome, frame->format()); 128 EXPECT_EQ(format_pair.chrome, frame->format());
127 129
128 frame = nullptr; 130 frame = nullptr;
129 EXPECT_EQ(1, CFGetRetainCount(pb.get())); 131 EXPECT_EQ(1, CFGetRetainCount(pb.get()));
130 } 132 }
131 } 133 }
132 134
133 } // namespace media 135 } // namespace media
OLDNEW
« no previous file with comments | « media/base/mac/video_frame_mac.cc ('k') | media/base/mac/videotoolbox_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698