Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index b15731cc3614963ced8c7dd7a64cbe1dd3390b5f..210daa24a01c9bd35c79361fd1c6db40dbc09c05 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -2602,11 +2602,9 @@ blink::WebPlugin* RenderFrameImpl::createPlugin( |
WebPluginInfo info; |
std::string mime_type; |
bool found = false; |
- WebString top_origin = frame->top()->getSecurityOrigin().toString(); |
- Send(new FrameHostMsg_GetPluginInfo(routing_id_, params.url, |
- blink::WebStringToGURL(top_origin), |
- params.mimeType.utf8(), &found, &info, |
- &mime_type)); |
+ Send(new FrameHostMsg_GetPluginInfo( |
+ routing_id_, params.url, frame->top()->getSecurityOrigin(), |
+ params.mimeType.utf8(), &found, &info, &mime_type)); |
if (!found) |
return NULL; |