From d3216441b7726c31fb0ae9b9d90b64421e14ca39 Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Thu, 5 Mar 2009 21:07:27 +0000 Subject: NO CODE CHANGE. Split the lines >80 cols. (Part 1) Review URL: http://codereview.chromium.org/39206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/theme_helpers.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'chrome/browser/views/theme_helpers.cc') diff --git a/chrome/browser/views/theme_helpers.cc b/chrome/browser/views/theme_helpers.cc index ba18603..d67d6d3 100644 --- a/chrome/browser/views/theme_helpers.cc +++ b/chrome/browser/views/theme_helpers.cc @@ -13,8 +13,10 @@ #include "skia/ext/bitmap_platform_device_win.h" #include "SkGradientShader.h" -void GetRebarGradientColors(int width, int x1, int x2, SkColor* c1, SkColor* c2) { - DCHECK(c1 && c2) << "ThemeHelpers::GetRebarGradientColors - c1 or c2 is NULL!"; +void GetRebarGradientColors(int width, int x1, int x2, + SkColor* c1, SkColor* c2) { + DCHECK(c1 && c2) << + "ThemeHelpers::GetRebarGradientColors - c1 or c2 is NULL!"; // To get the colors we need, we draw a horizontal gradient using // DrawThemeBackground, then extract the pixel values from and return @@ -63,7 +65,8 @@ void GetRebarGradientColors(int width, int x1, int x2, SkColor* c1, SkColor* c2) // 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(canvas.getTopPlatformDevice()); + static_cast( + canvas.getTopPlatformDevice()); *c1 = 0xFF000000 | device.getColorAt(x1, 0); *c2 = 0xFF000000 | device.getColorAt(x2, 0); } -- cgit v1.1