summaryrefslogtreecommitdiffstats
path: root/remoting/host/capturer_gdi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/capturer_gdi.cc')
-rw-r--r--remoting/host/capturer_gdi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/capturer_gdi.cc b/remoting/host/capturer_gdi.cc
index 7742ff9..209eea4 100644
--- a/remoting/host/capturer_gdi.cc
+++ b/remoting/host/capturer_gdi.cc
@@ -57,7 +57,7 @@ void CapturerGdi::ScreenConfigurationChanged() {
int rounded_width = (width_ + 3) & (~3);
// Dimensions of screen.
- pixel_format_ = PIXEL_FORMAT_RGB32;
+ pixel_format_ = PixelFormatRgb32;
bytes_per_row_ = rounded_width * kBytesPerPixel;
// Create a differ for this screen size.