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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.cpp

Issue 1869753003: Replace many skia::RefPtr with sk_sp<> in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/platform/graphics/CompositorFilterOperations.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.cpp b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.cpp
index 0c5de98b99a3e3217e189e97a0ef48e2d8ced306..76fda6df7695f63930b15709fbd16636d6c9c07a 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.cpp
@@ -91,7 +91,7 @@ void CompositorFilterOperations::appendSaturatingBrightnessFilter(float amount)
void CompositorFilterOperations::appendReferenceFilter(SkImageFilter* imageFilter)
{
m_filterOperations.Append(
- cc::FilterOperation::CreateReferenceFilter(skia::SharePtr(imageFilter)));
+ cc::FilterOperation::CreateReferenceFilter(sk_ref_sp(imageFilter)));
}
void CompositorFilterOperations::clear()
« content/common/cc_messages_unittest.cc ('K') | « content/common/cc_messages_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698