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

Unified Diff: media/mojo/common/mojo_shared_buffer_video_frame_unittest.cc

Issue 1802183002: Convert CreateCdmBuffer() to use size_t for |capacity| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cast Created 4 years, 9 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/mojo/common/mojo_shared_buffer_video_frame.h ('k') | media/mojo/services/mojo_cdm_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/mojo_shared_buffer_video_frame_unittest.cc
diff --git a/media/mojo/common/mojo_shared_buffer_video_frame_unittest.cc b/media/mojo/common/mojo_shared_buffer_video_frame_unittest.cc
index e52f7d6112b992d22c1fe266b7b8537d4cc9bc3f..e7e4b38b3a96f3b146bf74bbc92c46d6ba1966a9 100644
--- a/media/mojo/common/mojo_shared_buffer_video_frame_unittest.cc
+++ b/media/mojo/common/mojo_shared_buffer_video_frame_unittest.cc
@@ -6,6 +6,7 @@
#include <stddef.h>
#include <stdint.h>
+
#include <string>
#include "base/memory/ref_counted.h"
@@ -21,10 +22,10 @@ namespace {
void CompareDestructionCallbackValues(
mojo::SharedBufferHandle expected_handle,
- uint32_t expected_handle_size,
+ size_t expected_handle_size,
bool* callback_called,
mojo::ScopedSharedBufferHandle actual_handle,
- uint32_t actual_handle_size) {
+ size_t actual_handle_size) {
// Compare expected vs actual. Ownership of the memory is transferred with
// |actual_handle|, thus it is a ScopedSharedBufferHandle.
EXPECT_EQ(expected_handle, actual_handle.get());
« no previous file with comments | « media/mojo/common/mojo_shared_buffer_video_frame.h ('k') | media/mojo/services/mojo_cdm_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698