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

Unified Diff: content/common/gpu/client/gpu_channel_host.cc

Issue 1703163002: Remove dependency on GURL from content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary include from gpu_command_buffer_stub Created 4 years, 10 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/common/gpu/client/gpu_channel_host.cc
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
index 58bc54ef1437f1dc041482127ba299f6c2b1073b..1c7720213231c5a4d2251aae884ee7c69938ff1a 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -21,7 +21,6 @@
#include "content/common/gpu/client/gpu_jpeg_decode_accelerator_host.h"
#include "content/common/gpu/gpu_messages.h"
#include "ipc/ipc_sync_message_filter.h"
-#include "url/gurl.h"
#if defined(OS_WIN) || defined(OS_MACOSX)
#include "content/public/common/sandbox_init.h"
@@ -196,7 +195,7 @@ scoped_ptr<CommandBufferProxyImpl> GpuChannelHost::CreateViewCommandBuffer(
int32_t stream_id,
GpuStreamPriority stream_priority,
const std::vector<int32_t>& attribs,
- const GURL& active_url,
+ const std::string& active_url,
gfx::GpuPreference gpu_preference) {
DCHECK(!share_group || (stream_id == share_group->stream_id()));
TRACE_EVENT1("gpu", "GpuChannelHost::CreateViewCommandBuffer", "surface_id",
@@ -252,7 +251,7 @@ scoped_ptr<CommandBufferProxyImpl> GpuChannelHost::CreateOffscreenCommandBuffer(
int32_t stream_id,
GpuStreamPriority stream_priority,
const std::vector<int32_t>& attribs,
- const GURL& active_url,
+ const std::string& active_url,
gfx::GpuPreference gpu_preference) {
DCHECK(!share_group || (stream_id == share_group->stream_id()));
TRACE_EVENT0("gpu", "GpuChannelHost::CreateOffscreenCommandBuffer");
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.h ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698