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

Unified Diff: cc/output/render_surface_filters.h

Issue 1869753003: Replace many skia::RefPtr with sk_sp<> in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's nits 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
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/render_surface_filters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/render_surface_filters.h
diff --git a/cc/output/render_surface_filters.h b/cc/output/render_surface_filters.h
index bf54986b9c98276abae581174357c5527a439ab7..e6c6d9f1c188b82ba34401d4093fbf37e7aa640b 100644
--- a/cc/output/render_surface_filters.h
+++ b/cc/output/render_surface_filters.h
@@ -8,7 +8,7 @@
#include "base/macros.h"
#include "cc/base/cc_export.h"
-#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
class GrContext;
class SkBitmap;
@@ -30,9 +30,8 @@ class CC_EXPORT RenderSurfaceFilters {
GrContext* gr_context);
static FilterOperations Optimize(const FilterOperations& filters);
- static skia::RefPtr<SkImageFilter> BuildImageFilter(
- const FilterOperations& filters,
- const gfx::SizeF& size);
+ static sk_sp<SkImageFilter> BuildImageFilter(const FilterOperations& filters,
+ const gfx::SizeF& size);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(RenderSurfaceFilters);
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/render_surface_filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698