diff options
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/theme_helpers.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/theme_helpers.cc b/chrome/browser/views/theme_helpers.cc index 7d4375d..1d63ea6 100644 --- a/chrome/browser/views/theme_helpers.cc +++ b/chrome/browser/views/theme_helpers.cc @@ -64,8 +64,8 @@ void GetRebarGradientColors(int width, int x1, int x2, // Extract the color values from the selected pixels // The | in the following operations forces the alpha to 0xFF. This is // needed as windows sets the alpha to 0 when it renders. - skia::BitmapPlatformDeviceWin& device = - static_cast<skia::BitmapPlatformDeviceWin&>( + skia::BitmapPlatformDevice& device = + static_cast<skia::BitmapPlatformDevice&>( canvas.getTopPlatformDevice()); *c1 = 0xFF000000 | device.getColorAt(x1, 0); *c2 = 0xFF000000 | device.getColorAt(x2, 0); |