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

Unified Diff: talk/media/webrtc/webrtcvideoframefactory_unittest.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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 | « talk/media/webrtc/webrtcvideoframe_unittest.cc ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/webrtc/webrtcvideoframefactory_unittest.cc
diff --git a/talk/media/webrtc/webrtcvideoframefactory_unittest.cc b/talk/media/webrtc/webrtcvideoframefactory_unittest.cc
index 00c13b5a1d011e58e6aefb548eabfac271e0b108..a9c102264f0a9f4c894aa3b418ee513542f59256 100644
--- a/talk/media/webrtc/webrtcvideoframefactory_unittest.cc
+++ b/talk/media/webrtc/webrtcvideoframefactory_unittest.cc
@@ -51,7 +51,7 @@ class WebRtcVideoFrameFactoryTest
captured_frame_.data_size =
(frame_width * frame_height) +
((frame_width + 1) / 2) * ((frame_height + 1) / 2) * 2;
- captured_frame_buffer_.reset(new uint8[captured_frame_.data_size]);
+ captured_frame_buffer_.reset(new uint8_t[captured_frame_.data_size]);
// Initialize memory to satisfy DrMemory tests.
memset(captured_frame_buffer_.get(), 0, captured_frame_.data_size);
captured_frame_.data = captured_frame_buffer_.get();
@@ -111,7 +111,7 @@ class WebRtcVideoFrameFactoryTest
private:
cricket::CapturedFrame captured_frame_;
- rtc::scoped_ptr<uint8[]> captured_frame_buffer_;
+ rtc::scoped_ptr<uint8_t[]> captured_frame_buffer_;
cricket::WebRtcVideoFrameFactory factory_;
};
« no previous file with comments | « talk/media/webrtc/webrtcvideoframe_unittest.cc ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698