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

Unified Diff: services/ui/surfaces/surfaces_context_provider.h

Issue 2275113002: Provide task runner to GLES2Impl / CommandBuffer at creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-cleanup4
Patch Set: cleanup Created 4 years, 4 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: services/ui/surfaces/surfaces_context_provider.h
diff --git a/services/ui/surfaces/surfaces_context_provider.h b/services/ui/surfaces/surfaces_context_provider.h
index 207d3db32cbfe1168a547e85b783dce95b297662..f9b9fcf1e9da16e3a2278feac6119b4ceb2902b9 100644
--- a/services/ui/surfaces/surfaces_context_provider.h
+++ b/services/ui/surfaces/surfaces_context_provider.h
@@ -87,6 +87,7 @@ class SurfacesContextProvider : public cc::ContextProvider,
gfx::AcceleratedWidget widget_;
std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_proxy_impl_;
gl::GLSurface::SwapCompletionCallback swap_buffers_completion_callback_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider);
};

Powered by Google App Engine
This is Rietveld 408576698