diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-24 22:59:20 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-24 22:59:20 +0000 |
commit | edfa71e63db4db57ee6fafb237e4331cb631824b (patch) | |
tree | 3513578065ed7e3d486b6b6d3c2119a0ce952c05 /webkit/port/platform/graphics/GraphicsContextSkia.cpp | |
parent | 62ca321dd5cd95b7e4fc9de922c2ca0703971361 (diff) | |
download | chromium_src-edfa71e63db4db57ee6fafb237e4331cb631824b.zip chromium_src-edfa71e63db4db57ee6fafb237e4331cb631824b.tar.gz chromium_src-edfa71e63db4db57ee6fafb237e4331cb631824b.tar.bz2 |
First-party side of change to remove more link stubs.
Review URL: http://codereview.chromium.org/7988
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/graphics/GraphicsContextSkia.cpp')
-rw-r--r-- | webkit/port/platform/graphics/GraphicsContextSkia.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/port/platform/graphics/GraphicsContextSkia.cpp b/webkit/port/platform/graphics/GraphicsContextSkia.cpp index 8547756..1dd027a 100644 --- a/webkit/port/platform/graphics/GraphicsContextSkia.cpp +++ b/webkit/port/platform/graphics/GraphicsContextSkia.cpp @@ -24,6 +24,7 @@ #include "Assertions.h" #include "AffineTransform.h" +#include "Color.h" #include "FloatRect.h" #include "Gradient.h" #include "IntRect.h" @@ -874,7 +875,7 @@ void GraphicsContext::drawFocusRing(const Color& color) paint.setAntiAlias(true); paint.setStyle(SkPaint::kStroke_Style); - paint.setARGB(255, 229, 151, 0); + paint.setColor(focusRingColor().rgb()); paint.setStrokeWidth(exterior_offset * 2); paint.setPathEffect(new SkCornerPathEffect(exterior_offset * 2))->unref(); exterior_region.getBoundaryPath(&path); |