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

Unified Diff: ui/compositor/test/in_process_context_provider.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 | « ui/compositor/test/in_process_context_provider.h ('k') | ui/views/BUILD.gn » ('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.cc
diff --git a/ui/compositor/test/in_process_context_provider.cc b/ui/compositor/test/in_process_context_provider.cc
index 3483d3139cae49744d3dad97a0338ed8f11cd7c9..c442ce06882efd4b2b87052d544b2d590a9fbaea 100644
--- a/ui/compositor/test/in_process_context_provider.cc
+++ b/ui/compositor/test/in_process_context_provider.cc
@@ -29,7 +29,7 @@ scoped_refptr<InProcessContextProvider> InProcessContextProvider::Create(
InProcessContextProvider* shared_context,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
gpu::ImageFactory* image_factory,
- gfx::AcceleratedWidget window,
+ gpu::SurfaceHandle window,
const std::string& debug_name) {
return new InProcessContextProvider(attribs, shared_context,
gpu_memory_buffer_manager, image_factory,
@@ -55,7 +55,7 @@ InProcessContextProvider::CreateOffscreen(
attribs.bind_generates_resource = false;
return new InProcessContextProvider(attribs, shared_context,
gpu_memory_buffer_manager, image_factory,
- gfx::kNullAcceleratedWidget, "Offscreen");
+ gpu::kNullSurfaceHandle, "Offscreen");
}
InProcessContextProvider::InProcessContextProvider(
@@ -63,7 +63,7 @@ InProcessContextProvider::InProcessContextProvider(
InProcessContextProvider* shared_context,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
gpu::ImageFactory* image_factory,
- gfx::AcceleratedWidget window,
+ gpu::SurfaceHandle window,
const std::string& debug_name)
: attribs_(attribs),
shared_context_(shared_context),
« no previous file with comments | « ui/compositor/test/in_process_context_provider.h ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698