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

Unified Diff: remoting/client/jni/jni_frame_consumer.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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 | « remoting/client/jni/jni_frame_consumer.h ('k') | remoting/client/jni/remoting_jni_onload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/jni_frame_consumer.cc
diff --git a/remoting/client/jni/jni_frame_consumer.cc b/remoting/client/jni/jni_frame_consumer.cc
index 8c84dba2db2f0221855a7aa3ea4ccb67b96a90b0..25923da309f19af459db2eb10f81155260c6606f 100644
--- a/remoting/client/jni/jni_frame_consumer.cc
+++ b/remoting/client/jni/jni_frame_consumer.cc
@@ -4,6 +4,8 @@
#include "remoting/client/jni/jni_frame_consumer.h"
+#include <stdint.h>
+
#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
#include "base/logging.h"
@@ -67,7 +69,7 @@ void JniFrameConsumer::Renderer::RenderFrame(
// and then the R/B channels are swapped in place (on the decoding thread).
// If a repaint is triggered from a Java event handler, the unswapped pixels
// can sometimes appear on the display.
- uint8* dest_buffer = static_cast<uint8*>(bitmap_->pixels());
+ uint8_t* dest_buffer = static_cast<uint8_t*>(bitmap_->pixels());
webrtc::DesktopRect buffer_rect =
webrtc::DesktopRect::MakeSize(frame->size());
for (webrtc::DesktopRegion::Iterator i(frame->updated_region()); !i.IsAtEnd();
« no previous file with comments | « remoting/client/jni/jni_frame_consumer.h ('k') | remoting/client/jni/remoting_jni_onload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698