Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(926)

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp

Issue 2290903002: Change (Pass)RefPtr<SkXxx> into sk_sp<SkXxx>. (Closed)
Patch Set: Rebasing... Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
index 24a50bc02fedbd88d78c6fab12f9dedb2693f3ee..0bf262363c3a94929b1ebcc1098e18204418cb50 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
@@ -399,8 +399,8 @@ SkImageFilter* CanvasRenderingContext2DState::shadowAndForegroundImageFilter() c
void CanvasRenderingContext2DState::shadowParameterChanged()
{
- m_shadowOnlyDrawLooper.clear();
- m_shadowAndForegroundDrawLooper.clear();
+ m_shadowOnlyDrawLooper.reset();
+ m_shadowAndForegroundDrawLooper.reset();
m_shadowOnlyImageFilter.reset();
m_shadowAndForegroundImageFilter.reset();
}

Powered by Google App Engine
This is Rietveld 408576698