summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/graphics/GraphicsContextSkia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/platform/graphics/GraphicsContextSkia.cpp')
-rw-r--r--webkit/port/platform/graphics/GraphicsContextSkia.cpp3
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);