Index: remoting/protocol/fake_desktop_capturer.cc |
diff --git a/remoting/protocol/fake_desktop_capturer.cc b/remoting/protocol/fake_desktop_capturer.cc |
index bfa34f130368de6966965126add0f4f1e5fb1368..01c6bdd5b2ca0c53b5c89d3d3a11f57aeee9e875 100644 |
--- a/remoting/protocol/fake_desktop_capturer.cc |
+++ b/remoting/protocol/fake_desktop_capturer.cc |
@@ -4,8 +4,11 @@ |
#include "remoting/protocol/fake_desktop_capturer.h" |
+#include <stdint.h> |
+ |
#include "base/bind.h" |
#include "base/logging.h" |
+#include "base/macros.h" |
#include "base/time/time.h" |
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
@@ -89,8 +92,8 @@ scoped_ptr<webrtc::DesktopFrame> DefaultFrameGenerator::GenerateFrame( |
// cyan....yellow |
// .............. |
// blue.......red |
- uint8* row = frame->data() + |
- (box_pos_y_ * size_.width() + box_pos_x_) * kBytesPerPixel; |
+ uint8_t* row = frame->data() + |
+ (box_pos_y_ * size_.width() + box_pos_x_) * kBytesPerPixel; |
for (int y = 0; y < kBoxHeight; ++y) { |
for (int x = 0; x < kBoxWidth; ++x) { |
int r = x * 255 / kBoxWidth; |