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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.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/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 07066cae6b9f60a9ce7119f8720ef9e468001e26..52d3caaa416096fa8026a8e4ab1e315392d0d1c3 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -40,7 +40,6 @@
#include "content/browser/gpu/gpu_data_manager_impl.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/common/gpu/client/context_provider_command_buffer.h"
-#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/common/gpu_process_launch_causes.h"
#include "content/common/host_shared_bitmap_manager.h"
#include "content/public/common/content_switches.h"
@@ -130,10 +129,9 @@ scoped_refptr<content::ContextProviderCommandBuffer> CreateContextCommon(
GURL url("chrome://gpu/GpuProcessTransportFactory::CreateContextCommon");
return make_scoped_refptr(new content::ContextProviderCommandBuffer(
- base::WrapUnique(new content::WebGraphicsContext3DCommandBufferImpl(
- surface_handle, url, gpu_channel_host.get(), gfx::PreferIntegratedGpu,
- automatic_flushes)),
- gpu::SharedMemoryLimits(), attributes, shared_context_provider, type));
+ std::move(gpu_channel_host), surface_handle, url,
+ gfx::PreferIntegratedGpu, automatic_flushes, gpu::SharedMemoryLimits(),
+ attributes, shared_context_provider, type));
}
#if defined(OS_MACOSX)
« no previous file with comments | « content/browser/compositor/gpu_browser_compositor_output_surface.cc ('k') | content/browser/gpu/gpu_ipc_browsertests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698