diff options
author | reed <reed@chromium.org> | 2015-12-21 06:44:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-21 14:45:10 +0000 |
commit | 0c1f0f2fca6e20fc7cc3451af283a4ed7574f872 (patch) | |
tree | 184e1d6996258015d1ed18763806698e93b40128 /third_party/WebKit/Source/platform/graphics | |
parent | c8986231e6a3d2ac2f891cf92465c3fec0ca5943 (diff) | |
download | chromium_src-0c1f0f2fca6e20fc7cc3451af283a4ed7574f872.zip chromium_src-0c1f0f2fca6e20fc7cc3451af283a4ed7574f872.tar.gz chromium_src-0c1f0f2fca6e20fc7cc3451af283a4ed7574f872.tar.bz2 |
use baseclass from factory, to track cleanup in Skia
needed to allow https://codereview.chromium.org/1535353002 to land in chrome
BUG=
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
TBR=vollick
Review URL: https://codereview.chromium.org/1537353002
Cr-Commit-Position: refs/heads/master@{#366381}
Diffstat (limited to 'third_party/WebKit/Source/platform/graphics')
-rw-r--r-- | third_party/WebKit/Source/platform/graphics/StrokeData.cpp | 2 | ||||
-rw-r--r-- | third_party/WebKit/Source/platform/graphics/StrokeData.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/platform/graphics/StrokeData.cpp b/third_party/WebKit/Source/platform/graphics/StrokeData.cpp index aa7b44d5..a344a75 100644 --- a/third_party/WebKit/Source/platform/graphics/StrokeData.cpp +++ b/third_party/WebKit/Source/platform/graphics/StrokeData.cpp @@ -104,7 +104,7 @@ void StrokeData::setupPaintDashPathEffect(SkPaint* paint, int length) const } SkScalar dashLengthSk = SkIntToScalar(dashLength); SkScalar intervals[2] = { dashLengthSk, dashLengthSk }; - RefPtr<SkDashPathEffect> pathEffect = adoptRef(SkDashPathEffect::Create(intervals, 2, SkIntToScalar(phase))); + RefPtr<SkPathEffect> pathEffect = adoptRef(SkDashPathEffect::Create(intervals, 2, SkIntToScalar(phase))); paint->setPathEffect(pathEffect.get()); } } diff --git a/third_party/WebKit/Source/platform/graphics/StrokeData.h b/third_party/WebKit/Source/platform/graphics/StrokeData.h index a126214..ae9043d 100644 --- a/third_party/WebKit/Source/platform/graphics/StrokeData.h +++ b/third_party/WebKit/Source/platform/graphics/StrokeData.h @@ -90,7 +90,7 @@ private: SkPaint::Cap m_lineCap; SkPaint::Join m_lineJoin; float m_miterLimit; - RefPtr<SkDashPathEffect> m_dash; + RefPtr<SkPathEffect> m_dash; }; } // namespace blink |