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

Unified Diff: content/browser/android/in_process/synchronous_compositor_factory_impl.cc

Issue 126093010: Use ContextProvider subclass to provide WGC3D pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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/browser/android/in_process/synchronous_compositor_factory_impl.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
index 5fc68f364a38498c5a7139d3ae11839fe8ccdb45..3c86bd5b17c35e02a2e6319c1fd0bfa125ab190c 100644
--- a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
+++ b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
@@ -12,6 +12,8 @@
#include "webkit/common/gpu/context_provider_in_process.h"
#include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h"
+using webkit::gpu::ContextProviderWebContext;
+
namespace content {
namespace {
@@ -73,7 +75,7 @@ SynchronousCompositorFactoryImpl::GetInputHandlerManagerClient() {
return synchronous_input_event_filter();
}
-scoped_refptr<cc::ContextProvider>
+scoped_refptr<ContextProviderWebContext>
SynchronousCompositorFactoryImpl::GetOffscreenContextProviderForMainThread() {
// This check only guarantees the main thread context is created after
// a compositor did successfully initialize hardware draw in the past.

Powered by Google App Engine
This is Rietveld 408576698