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

Unified Diff: content/renderer/render_widget.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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 727717eea390b55c1de71d01668d41766d9afbcc..b19ec84ded378cc7deee754a0db3ad0198122991 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -33,7 +33,6 @@
#include "components/scheduler/renderer/renderer_scheduler.h"
#include "content/common/content_switches_internal.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/input/synthetic_gesture_packet.h"
#include "content/common/input/web_input_event_traits.h"
@@ -777,11 +776,9 @@ std::unique_ptr<cc::OutputSurface> RenderWidget::CreateOutputSurface(
// The compositor context shares resources with the worker context.
context_provider = new ContextProviderCommandBuffer(
- base::WrapUnique(new content::WebGraphicsContext3DCommandBufferImpl(
- gpu::kNullSurfaceHandle, GetURLForGraphicsContext3D(),
- std::move(gpu_channel_host), gfx::PreferIntegratedGpu,
- automatic_flushes)),
- limits, attributes, worker_context_provider.get(),
+ std::move(gpu_channel_host), gpu::kNullSurfaceHandle,
+ GetURLForGraphicsContext3D(), gfx::PreferIntegratedGpu,
+ automatic_flushes, limits, attributes, worker_context_provider.get(),
command_buffer_metrics::RENDER_COMPOSITOR_CONTEXT);
#if defined(OS_ANDROID)
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698