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

Unified Diff: content/browser/gpu/gpu_ipc_browsertests.cc

Issue 1937313003: Hide WebGraphicsContext3DCommandBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: construct: . 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/browser/gpu/gpu_ipc_browsertests.cc
diff --git a/content/browser/gpu/gpu_ipc_browsertests.cc b/content/browser/gpu/gpu_ipc_browsertests.cc
index ab62845b2efca28bd1d6dec78ad70db5911881fc..6811d9afb1f95770f0132683be669f354989b46c 100644
--- a/content/browser/gpu/gpu_ipc_browsertests.cc
+++ b/content/browser/gpu/gpu_ipc_browsertests.cc
@@ -39,10 +39,9 @@ scoped_refptr<content::ContextProviderCommandBuffer> CreateContext(
attributes.bind_generates_resource = false;
bool automatic_flushes = false;
return make_scoped_refptr(new content::ContextProviderCommandBuffer(
- base::WrapUnique(new content::WebGraphicsContext3DCommandBufferImpl(
- gpu::kNullSurfaceHandle, GURL(), std::move(gpu_channel_host),
- gfx::PreferIntegratedGpu, automatic_flushes)),
- gpu::SharedMemoryLimits(), attributes, nullptr,
+ std::move(gpu_channel_host), gpu::kNullSurfaceHandle, GURL(),
+ gfx::PreferIntegratedGpu, automatic_flushes, gpu::SharedMemoryLimits(),
+ attributes, nullptr,
content::command_buffer_metrics::OFFSCREEN_CONTEXT_FOR_TESTING));
}
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698