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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.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: content/common/gpu/client/context_provider_command_buffer.h
diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h
index 134035abdf3119d8cef199d28f8163d4bc045b85..433cefabff98ee4593875d90c885146910ed7596 100644
--- a/content/common/gpu/client/context_provider_command_buffer.h
+++ b/content/common/gpu/client/context_provider_command_buffer.h
@@ -18,9 +18,11 @@
#include "content/common/gpu/client/command_buffer_metrics.h"
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
-namespace content {
-
+namespace skia_bindings {
class GrContextForGLES2Interface;
+} // namespace skia_bindings
+
+namespace content {
// Implementation of cc::ContextProvider that provides a
// WebGraphicsContext3DCommandBufferImpl context and a GrContext.
@@ -65,7 +67,7 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
base::ThreadChecker context_thread_checker_;
std::unique_ptr<WebGraphicsContext3DCommandBufferImpl> context3d_;
- std::unique_ptr<GrContextForGLES2Interface> gr_context_;
+ std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
cc::ContextProvider::Capabilities capabilities_;
CommandBufferContextType context_type_;

Powered by Google App Engine
This is Rietveld 408576698