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

Unified Diff: blimp/client/support/compositor/compositor_dependencies_impl.cc

Issue 2498053004: Add InProcessContextProvider and update InProcessCommandBuffer (Closed)
Patch Set: Revert experiments and fix android_webview Created 4 years, 1 month 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 | « blimp/client/support/compositor/blimp_context_provider.cc ('k') | blimp/client/test/compositor/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/support/compositor/compositor_dependencies_impl.cc
diff --git a/blimp/client/support/compositor/compositor_dependencies_impl.cc b/blimp/client/support/compositor/compositor_dependencies_impl.cc
index b85aad9c4baabc0c752ce085e6b497f3616cea12..377be1aca745b5d0b2c97a342c13863eac798e81 100644
--- a/blimp/client/support/compositor/compositor_dependencies_impl.cc
+++ b/blimp/client/support/compositor/compositor_dependencies_impl.cc
@@ -10,6 +10,7 @@
#include "cc/output/context_provider.h"
#include "cc/surfaces/surface_manager.h"
#include "cc/trees/layer_tree_settings.h"
+#include "gpu/ipc/common/surface_handle.h"
namespace blimp {
namespace client {
@@ -38,7 +39,7 @@ cc::FrameSinkId CompositorDependenciesImpl::AllocateFrameSinkId() {
void CompositorDependenciesImpl::GetContextProviders(
const CompositorDependencies::ContextProviderCallback& callback) {
scoped_refptr<cc::ContextProvider> compositor_context =
- BlimpContextProvider::Create(gfx::kNullAcceleratedWidget,
+ BlimpContextProvider::Create(gpu::kNullSurfaceHandle,
gpu_memory_buffer_manager_.get());
// TODO(khushalsagar): Make a worker context and bind to the current thread.
« no previous file with comments | « blimp/client/support/compositor/blimp_context_provider.cc ('k') | blimp/client/test/compositor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698