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 2bffb25e718b0e6b2b9b643cd9be448850751039..92bb70f06aaa1889e5881e2126447f3a818a61c5 100644 |
--- a/content/renderer/renderer_blink_platform_impl.cc |
+++ b/content/renderer/renderer_blink_platform_impl.cc |
@@ -47,6 +47,7 @@ |
#include "content/common/gpu/gpu_process_launch_causes.h" |
#include "content/common/mime_registry_messages.h" |
#include "content/common/render_process_messages.h" |
+#include "content/public/child/url_conversion.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/service_registry.h" |
#include "content/public/common/webplugininfo.h" |
@@ -1025,7 +1026,7 @@ RendererBlinkPlatformImpl::createOffscreenGraphicsContext3D( |
gpu_channel_host.get(), |
attributes, |
lose_context_when_out_of_memory, |
- GURL(attributes.topDocumentURL), |
+ WebStringToGURL(attributes.topDocumentURL), |
limits, |
static_cast<WebGraphicsContext3DCommandBufferImpl*>(share_context))); |