Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index 6d5d72d9a1dc37151e8d0cbd54236b0723a46e2a..ade82c2000fbff03f841994c081a4aadc32b7ba8 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -95,6 +95,7 @@ |
#include "printing/metafile_skia_wrapper.h" |
#include "printing/pdf_metafile_skia.h" |
#include "skia/ext/platform_canvas.h" |
+#include "third_party/WebKit/public/platform/URLConversion.h" |
#include "third_party/WebKit/public/platform/WebCursorInfo.h" |
#include "third_party/WebKit/public/platform/WebGamepads.h" |
#include "third_party/WebKit/public/platform/WebRect.h" |
@@ -2865,8 +2866,8 @@ PP_Var PepperPluginInstanceImpl::GetPluginReferrerURL( |
WebString referer = request.httpHeaderField("Referer"); |
if (referer.isEmpty()) |
return PP_MakeUndefined(); |
- return ppapi::PPB_URLUtil_Shared::GenerateURLReturn(GURL(referer), |
- components); |
+ return ppapi::PPB_URLUtil_Shared::GenerateURLReturn( |
+ blink::WebStringToGURL(referer), components); |
} |
PP_ExternalPluginResult PepperPluginInstanceImpl::ResetAsProxied( |