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

Unified Diff: Source/core/platform/graphics/GraphicsContext.cpp

Issue 17448009: Use skia::RefPtr to avoid having to manually refcount GraphicsContextState::m_looper. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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: Source/core/platform/graphics/GraphicsContext.cpp
diff --git a/Source/core/platform/graphics/GraphicsContext.cpp b/Source/core/platform/graphics/GraphicsContext.cpp
index 35dc86173dd536c5a1a3ee135da75ca13e718626..b58553179baf16f1ab262b96157f249cf737d1d2 100644
--- a/Source/core/platform/graphics/GraphicsContext.cpp
+++ b/Source/core/platform/graphics/GraphicsContext.cpp
@@ -1656,7 +1656,7 @@ void GraphicsContext::setupPaintCommon(SkPaint* paint) const
paint->setAntiAlias(m_state->m_shouldAntialias);
paint->setXfermodeMode(m_state->m_xferMode);
- paint->setLooper(m_state->m_looper);
+ paint->setLooper(m_state->m_looper.get());
}
void GraphicsContext::drawOuterPath(const SkPath& path, SkPaint& paint, int width)

Powered by Google App Engine
This is Rietveld 408576698