Index: remoting/host/capturer_mac.cc |
diff --git a/remoting/host/capturer_mac.cc b/remoting/host/capturer_mac.cc |
index 6d6b6cc2b95506419dcd70819838d0ff7a4bec67..3eafa342326940ab235262465b3bc48a6762fa4f 100644 |
--- a/remoting/host/capturer_mac.cc |
+++ b/remoting/host/capturer_mac.cc |
@@ -47,7 +47,7 @@ void CapturerMac::ScreenConfigurationChanged() { |
width_ = CGDisplayPixelsWide(mainDevice); |
height_ = CGDisplayPixelsHigh(mainDevice); |
bytes_per_row_ = width_ * sizeof(uint32_t); |
- pixel_format_ = PixelFormatRgb32; |
+ pixel_format_ = PIXEL_FORMAT_RGB32; |
size_t buffer_size = height() * bytes_per_row_; |
for (int i = 0; i < kNumBuffers; ++i) { |
buffers_[i].reset(new uint8[buffer_size]); |