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

Unified Diff: talk/media/devices/gdivideorenderer.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/devices/filevideocapturer.cc ('k') | talk/media/devices/gtkvideorenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/devices/gdivideorenderer.cc
diff --git a/talk/media/devices/gdivideorenderer.cc b/talk/media/devices/gdivideorenderer.cc
index f6fee1ccc801807eb3d386e10a0ef64e6b9b69df..69453067e20f8004f765f6991881882a03f0d31c 100644
--- a/talk/media/devices/gdivideorenderer.cc
+++ b/talk/media/devices/gdivideorenderer.cc
@@ -100,7 +100,7 @@ class GdiVideoRenderer::VideoWindow : public rtc::Win32Window {
void OnRenderFrame(const VideoFrame* frame);
BITMAPINFO bmi_;
- rtc::scoped_ptr<uint8[]> image_;
+ rtc::scoped_ptr<uint8_t[]> image_;
rtc::scoped_ptr<WindowThread> window_thread_;
// The initial position of the window.
int initial_x_;
@@ -123,7 +123,7 @@ GdiVideoRenderer::VideoWindow::VideoWindow(
bmi_.bmiHeader.biHeight = -height;
bmi_.bmiHeader.biSizeImage = width * height * 4;
- image_.reset(new uint8[bmi_.bmiHeader.biSizeImage]);
+ image_.reset(new uint8_t[bmi_.bmiHeader.biSizeImage]);
}
GdiVideoRenderer::VideoWindow::~VideoWindow() {
@@ -237,7 +237,7 @@ void GdiVideoRenderer::VideoWindow::OnSize(int width, int height,
bmi_.bmiHeader.biWidth = width;
bmi_.bmiHeader.biHeight = -height;
bmi_.bmiHeader.biSizeImage = width * height * 4;
- image_.reset(new uint8[bmi_.bmiHeader.biSizeImage]);
+ image_.reset(new uint8_t[bmi_.bmiHeader.biSizeImage]);
}
}
« no previous file with comments | « talk/media/devices/filevideocapturer.cc ('k') | talk/media/devices/gtkvideorenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698