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

Unified Diff: ui/compositor/test/in_process_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
« no previous file with comments | « gpu/skia_bindings/skia_bindings.gyp ('k') | ui/compositor/test/in_process_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/in_process_context_provider.h
diff --git a/ui/compositor/test/in_process_context_provider.h b/ui/compositor/test/in_process_context_provider.h
index 1bc2cc393f22f5f3c246806e7630a723730d1d4d..e3dfce1565db51f42a7a1d65b0a55686c8cd9aca 100644
--- a/ui/compositor/test/in_process_context_provider.h
+++ b/ui/compositor/test/in_process_context_provider.h
@@ -24,6 +24,10 @@ class GpuMemoryBufferManager;
class ImageFactory;
}
+namespace skia_bindings {
+class GrContextForGLES2Interface;
+}
+
namespace ui {
class InProcessContextProvider : public cc::ContextProvider {
@@ -70,7 +74,7 @@ class InProcessContextProvider : public cc::ContextProvider {
base::ThreadChecker context_thread_checker_;
std::unique_ptr<gpu::GLInProcessContext> context_;
- skia::RefPtr<class GrContext> gr_context_;
+ std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
gpu::gles2::ContextCreationAttribHelper attribs_;
InProcessContextProvider* shared_context_;
« no previous file with comments | « gpu/skia_bindings/skia_bindings.gyp ('k') | ui/compositor/test/in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698