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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1827123002: Move content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 9 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_widget_fullscreen_pepper.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 88df4251a5e960afc6c4cd5db7ba20a0e350496c..83c980f8c24baf571cb8cac54c00092022f20101 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -42,7 +42,6 @@
#include "content/common/file_utilities_messages.h"
#include "content/common/frame_messages.h"
#include "content/common/gpu/client/context_provider_command_buffer.h"
-#include "content/common/gpu/client/gpu_channel_host.h"
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "content/common/gpu_process_launch_causes.h"
#include "content/common/mime_registry_messages.h"
@@ -75,6 +74,7 @@
#include "content/renderer/webgraphicscontext3d_provider_impl.h"
#include "content/renderer/webpublicsuffixlist_impl.h"
#include "gpu/config/gpu_info.h"
+#include "gpu/ipc/client/gpu_channel_host.h"
#include "ipc/ipc_sync_message_filter.h"
#include "media/audio/audio_output_device.h"
#include "media/base/audio_hardware_config.h"
@@ -633,8 +633,8 @@ WebString RendererBlinkPlatformImpl::databaseCreateOriginIdentifier(
bool RendererBlinkPlatformImpl::canAccelerate2dCanvas() {
RenderThreadImpl* thread = RenderThreadImpl::current();
- GpuChannelHost* host = thread->EstablishGpuChannelSync(
- CAUSE_FOR_GPU_LAUNCH_CANVAS_2D);
+ gpu::GpuChannelHost* host =
+ thread->EstablishGpuChannelSync(CAUSE_FOR_GPU_LAUNCH_CANVAS_2D);
if (!host)
return false;
@@ -959,7 +959,7 @@ blink::WebSpeechSynthesizer* RendererBlinkPlatformImpl::createSpeechSynthesizer(
static void Collect3DContextInformationOnFailure(
blink::Platform::GraphicsInfo* gl_info,
- GpuChannelHost* host) {
+ gpu::GpuChannelHost* host) {
DCHECK(gl_info);
std::string error_message("OffscreenContext Creation failed, ");
if (host) {
@@ -1007,7 +1007,7 @@ RendererBlinkPlatformImpl::createOffscreenGraphicsContext3DProvider(
return nullptr;
}
- scoped_refptr<GpuChannelHost> gpu_channel_host(
+ scoped_refptr<gpu::GpuChannelHost> gpu_channel_host(
RenderThreadImpl::current()->EstablishGpuChannelSync(
CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE));
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698