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

Unified Diff: content/common/gpu/client/grcontext_for_gles2_interface.h

Issue 1862693002: Replace skia::RefPtr with sk_sp<> in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unget 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 | « content/common/cc_messages.cc ('k') | content/common/gpu/client/grcontext_for_gles2_interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/grcontext_for_gles2_interface.h
diff --git a/content/common/gpu/client/grcontext_for_gles2_interface.h b/content/common/gpu/client/grcontext_for_gles2_interface.h
index aa8d2a566cb8ffbc2760eb5f4ea588a566658ecf..354092a95925303195a7916370f57a9efea3072c 100644
--- a/content/common/gpu/client/grcontext_for_gles2_interface.h
+++ b/content/common/gpu/client/grcontext_for_gles2_interface.h
@@ -6,7 +6,7 @@
#define CONTENT_COMMON_GPU_CLIENT_GRCONTEXT_FOR_GLES2_INTERFACE_H_
#include "base/macros.h"
-#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
class GrContext;
@@ -32,7 +32,7 @@ class GrContextForGLES2Interface {
void FreeGpuResources();
private:
- skia::RefPtr<class GrContext> gr_context_;
+ sk_sp<class GrContext> gr_context_;
DISALLOW_COPY_AND_ASSIGN(GrContextForGLES2Interface);
};
« no previous file with comments | « content/common/cc_messages.cc ('k') | content/common/gpu/client/grcontext_for_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698