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 eccd9dcc93a303db60148a13fafb4e9e6db01389..97005b59dbb1ec2a88d609b7ba23343beeb578c1 100644 |
--- a/content/browser/compositor/gpu_process_transport_factory.cc |
+++ b/content/browser/compositor/gpu_process_transport_factory.cc |
@@ -55,6 +55,7 @@ |
#include "ui/compositor/layer.h" |
#include "ui/gfx/geometry/size.h" |
#include "ui/gfx/native_widget_types.h" |
+#include "url/gurl.h" |
#if defined(MOJO_RUNNER_CLIENT) |
#include "content/common/mojo/mojo_shell_connection_impl.h" |
@@ -611,16 +612,12 @@ GpuProcessTransportFactory::CreateContextCommon( |
LOG(ERROR) << "Failed to establish GPU channel."; |
return scoped_ptr<WebGraphicsContext3DCommandBufferImpl>(); |
} |
- GURL url("chrome://gpu/GpuProcessTransportFactory::CreateContextCommon"); |
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context( |
new WebGraphicsContext3DCommandBufferImpl( |
surface_id, |
- url, |
- gpu_channel_host.get(), |
- attrs, |
- lose_context_when_out_of_memory, |
- WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), |
- NULL)); |
+ "chrome://gpu/GpuProcessTransportFactory::CreateContextCommon", |
+ gpu_channel_host.get(), attrs, lose_context_when_out_of_memory, |
+ WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), NULL)); |
return context; |
} |