Index: content/browser/compositor/software_output_device_mac.h |
diff --git a/content/browser/compositor/software_output_device_mac.h b/content/browser/compositor/software_output_device_mac.h |
index a613ab4b1d8a3a5cc937df541c54e841eba28e1b..84e09873597bebf949dbb72fae4a0fc7b3e12ec0 100644 |
--- a/content/browser/compositor/software_output_device_mac.h |
+++ b/content/browser/compositor/software_output_device_mac.h |
@@ -10,6 +10,8 @@ |
#include "base/mac/scoped_cftyperef.h" |
#include "base/macros.h" |
#include "cc/output/software_output_device.h" |
+#include "third_party/skia/include/core/SkCanvas.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "third_party/skia/include/core/SkRegion.h" |
#include "ui/gfx/vsync_provider.h" |
@@ -63,7 +65,7 @@ class SoftwareOutputDeviceMac : |
// The SkCanvas wrapps the mapped current IOSurface. It is valid only between |
// BeginPaint and EndPaint. |
- skia::RefPtr<SkCanvas> canvas_; |
+ sk_sp<SkCanvas> canvas_; |
gfx::VSyncProvider::UpdateVSyncCallback update_vsync_callback_; |