| Index: ppapi/thunk/ppb_url_util_thunk.cc
|
| ===================================================================
|
| --- ppapi/thunk/ppb_url_util_thunk.cc (revision 219784)
|
| +++ ppapi/thunk/ppb_url_util_thunk.cc (working copy)
|
| @@ -53,6 +53,14 @@
|
| return enter.functions()->GetPluginInstanceURL(instance, components);
|
| }
|
|
|
| +PP_Var GetPluginRefererURL(PP_Instance instance,
|
| + PP_URLComponents_Dev* components) {
|
| + EnterInstance enter(instance);
|
| + if (enter.failed())
|
| + return PP_MakeUndefined();
|
| + return enter.functions()->GetPluginRefererURL(instance, components);
|
| +}
|
| +
|
| const PPB_URLUtil_Dev g_ppb_url_util = {
|
| &PPB_URLUtil_Shared::Canonicalize,
|
| &PPB_URLUtil_Shared::ResolveRelativeToURL,
|
| @@ -61,7 +69,8 @@
|
| &DocumentCanRequest,
|
| &DocumentCanAccessDocument,
|
| &GetDocumentURL,
|
| - &GetPluginInstanceURL
|
| + &GetPluginInstanceURL,
|
| + &GetPluginRefererURL
|
| };
|
|
|
| } // namespace
|
|
|