Chromium Code Reviews| 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..f2395099070033daa4e5e80b8607fbdd75ac594f 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_; |
|
stefan-webrtc
2015/10/06 09:20:02
This looks weird... Please take a look.
pbos-webrtc
2015/10/06 09:28:04
Eep, done.
|
| int draw_buffer_size_; |
| }; |