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

Unified Diff: webrtc/examples/peerconnection/client/linux/main_wnd.h

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
Index: webrtc/examples/peerconnection/client/linux/main_wnd.h
diff --git a/webrtc/examples/peerconnection/client/linux/main_wnd.h b/webrtc/examples/peerconnection/client/linux/main_wnd.h
index cfb237645fa342e25a0684a0aa44c8a56ad3387b..1a910827689da1373ea8b218df71f1f231139729 100644
--- a/webrtc/examples/peerconnection/client/linux/main_wnd.h
+++ b/webrtc/examples/peerconnection/client/linux/main_wnd.h
@@ -79,9 +79,7 @@ class GtkMainWnd : public MainWindow {
virtual void SetSize(int width, int height);
virtual void RenderFrame(const cricket::VideoFrame* frame);
- const uint8* image() const {
- return image_.get();
- }
+ const uint8_t* image() const { return image_.get(); }
int width() const {
return width_;
@@ -92,7 +90,7 @@ class GtkMainWnd : public MainWindow {
}
protected:
- rtc::scoped_ptr<uint8[]> image_;
+ rtc::scoped_ptr<uint8_t[]> image_;
int width_;
int height_;
GtkMainWnd* main_wnd_;
@@ -113,7 +111,7 @@ class GtkMainWnd : public MainWindow {
bool autocall_;
rtc::scoped_ptr<VideoRenderer> local_renderer_;
rtc::scoped_ptr<VideoRenderer> remote_renderer_;
- rtc::scoped_ptr<uint8> draw_buffer_;
+ rtc::scoped_ptr<uint8_t[]> draw_buffer_;
int draw_buffer_size_;
};
« no previous file with comments | « webrtc/examples/peerconnection/client/flagdefs.h ('k') | webrtc/examples/peerconnection/client/linux/main_wnd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698