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

Unified Diff: cc/test/test_context_provider.h

Issue 1880823004: Move skia related files from content/common/gpu/client to gpu/skia_bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update 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: cc/test/test_context_provider.h
diff --git a/cc/test/test_context_provider.h b/cc/test/test_context_provider.h
index 99d15c8b30dc05ae1f22e0fb2b5b168fb05cca48..dcfd4748efeeb3729b751cc02490005a52709bdd 100644
--- a/cc/test/test_context_provider.h
+++ b/cc/test/test_context_provider.h
@@ -20,6 +20,10 @@
#include "gpu/command_buffer/client/gles2_interface_stub.h"
#include "skia/ext/refptr.h"
+namespace skia_bindings {
+class GrContextForGLES2Interface;
+}
+
namespace cc {
class TestWebGraphicsContext3D;
class TestGLES2Interface;
@@ -80,7 +84,7 @@ class TestContextProvider : public ContextProvider {
base::Lock context_lock_;
LostContextCallback lost_context_callback_;
- skia::RefPtr<class GrContext> gr_context_;
+ std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
base::WeakPtrFactory<TestContextProvider> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698