summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/theme_helpers.cc
diff options
context:
space:
mode:
authorawalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 17:47:00 +0000
committerawalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 17:47:00 +0000
commitb49cbcf2cb1808755be7d629df962850756fe691 (patch)
tree66a1cbbeda98ff0a2be564fb164bbd274245aea8 /chrome/browser/views/theme_helpers.cc
parent6328338ef2dcd7fe075cb4065c644847d5330a71 (diff)
downloadchromium_src-b49cbcf2cb1808755be7d629df962850756fe691.zip
chromium_src-b49cbcf2cb1808755be7d629df962850756fe691.tar.gz
chromium_src-b49cbcf2cb1808755be7d629df962850756fe691.tar.bz2
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/theme_helpers.cc')
-rw-r--r--chrome/browser/views/theme_helpers.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/theme_helpers.cc b/chrome/browser/views/theme_helpers.cc
index fa2820d..89fb02d 100644
--- a/chrome/browser/views/theme_helpers.cc
+++ b/chrome/browser/views/theme_helpers.cc
@@ -33,7 +33,7 @@
#include <atlapp.h>
#include <atltheme.h>
-#include "base/gfx/bitmap_platform_device.h"
+#include "base/gfx/bitmap_platform_device_win.h"
#include "chrome/common/gfx/chrome_canvas.h"
#include "base/logging.h"
#include "SkGradientShader.h"
@@ -87,8 +87,8 @@ void GetRebarGradientColors(int width, int x1, int x2, SkColor* c1, SkColor* c2)
// 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.
- gfx::BitmapPlatformDevice& device =
- static_cast<gfx::BitmapPlatformDevice&>(canvas.getTopPlatformDevice());
+ gfx::BitmapPlatformDeviceWin& device =
+ static_cast<gfx::BitmapPlatformDeviceWin&>(canvas.getTopPlatformDevice());
*c1 = 0xFF000000 | device.getColorAt(x1, 0);
*c2 = 0xFF000000 | device.getColorAt(x2, 0);
}