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

Unified Diff: content/browser/compositor/software_output_device_win.h

Issue 1855273002: Update new Surface callsites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: software_output_device was indirectly including skia::refptr, switch to sk_sp<> 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: content/browser/compositor/software_output_device_win.h
diff --git a/content/browser/compositor/software_output_device_win.h b/content/browser/compositor/software_output_device_win.h
index 1cc267dd55bbf50f38a74b4f353fd432f6ae2ecd..5c80340808c2437442cee1d35b4359b2ab9a1d31 100644
--- a/content/browser/compositor/software_output_device_win.h
+++ b/content/browser/compositor/software_output_device_win.h
@@ -13,6 +13,8 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "cc/output/software_output_device.h"
+#include "third_party/skia/include/core/SkCanvas.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
namespace base {
class SharedMemory;
@@ -61,7 +63,7 @@ class SoftwareOutputDeviceWin : public cc::SoftwareOutputDevice {
private:
HWND hwnd_;
- skia::RefPtr<SkCanvas> contents_;
+ sk_sp<SkCanvas> contents_;
bool is_hwnd_composited_;
OutputDeviceBacking* backing_;
bool in_paint_;
« no previous file with comments | « content/browser/compositor/software_output_device_mac.mm ('k') | content/browser/compositor/software_output_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698