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

Unified Diff: skia/ext/benchmarking_canvas.h

Issue 1849213002: Remove SK_SUPPORT_LEGACY_XFERMODE_PTR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adopt the pointer but don't ref it Created 4 years, 9 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: skia/ext/benchmarking_canvas.h
diff --git a/skia/ext/benchmarking_canvas.h b/skia/ext/benchmarking_canvas.h
index 2935117507131e05d3daba66c44b1b4c7c06d938..bb7e1dbfb9be22ccdea2e3ed15923bae7ce6fe77 100644
--- a/skia/ext/benchmarking_canvas.h
+++ b/skia/ext/benchmarking_canvas.h
@@ -8,7 +8,6 @@
#include <stddef.h>
#include "base/values.h"
-#include "skia/ext/refptr.h"
#include "third_party/skia/include/utils/SkNWayCanvas.h"
class SkXfermode;
@@ -85,7 +84,7 @@ private:
base::ListValue op_records_;
unsigned flags_;
- RefPtr<SkXfermode> overdraw_xfermode_;
+ sk_sp<SkXfermode> overdraw_xfermode_;
};
}

Powered by Google App Engine
This is Rietveld 408576698