| Index: third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| index da8a32ed8e227265742e5fc7fff784d9242bae60..39d6e438bdf44149e3f07a7ed4ce77fbac639b67 100644
|
| --- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
|
| @@ -56,7 +56,7 @@
|
| #include "public/web/WebKit.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
| #include "third_party/skia/include/core/SkMatrix44.h"
|
| -#include "third_party/skia/include/core/SkPictureRecorder.h"
|
| +#include "skia/ext/cdl_picture_recorder.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| #include "web/WebSettingsImpl.h"
|
| @@ -317,14 +317,14 @@ void LinkHighlightImpl::paintContents(
|
| if (!m_node || !m_node->layoutObject())
|
| return;
|
|
|
| - SkPictureRecorder recorder;
|
| + CdlPictureRecorder recorder;
|
| gfx::Rect visualRect = paintableRegion();
|
| - SkCanvas* canvas =
|
| + CdlCanvas* canvas =
|
| recorder.beginRecording(visualRect.width(), visualRect.height());
|
|
|
| - SkPaint paint;
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| - paint.setFlags(SkPaint::kAntiAlias_Flag);
|
| + CdlPaint paint;
|
| + paint.setStyle(CdlPaint::kFill_Style);
|
| + paint.setAntiAlias(true);
|
| paint.setColor(m_node->layoutObject()->style()->tapHighlightColor().rgb());
|
| canvas->drawPath(m_path.getSkPath(), paint);
|
|
|
|
|