Fix passing pointers between processes.

BUG=31880
Review URL: http://codereview.chromium.org/558036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37555 0039d316-1c4b-4281-b951-d872f2087c98
uint32 NPN_ScheduleTimer(NPP id,
                         uint32 interval,
                         NPBool repeat,
                         void (*func)(NPP id, uint32 timer_id)) {
  scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id);
  if (!plugin)
    return 0;

  return plugin->ScheduleTimer(interval, repeat, func);
}

uint32 NPN_ScheduleTimer(NPP id,
                         uint32 interval,
                         NPBool repeat,
                         void (*func)(NPP id, uint32 timer_id)) {
  scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id);
  if (!plugin)
    return 0;

  return plugin->ScheduleTimer(interval, repeat, func);
}
