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
void WebPluginDelegateProxy::OnUpdateGeometry_ACK(int ack_key) {
  DCHECK_NE(ack_key, -1);

  OldTransportDIBMap::iterator iterator = old_transport_dibs_.find(ack_key);

  DCHECK(iterator != old_transport_dibs_.end());

  ReleaseTransportDIB(iterator->second.backing_store.get());
  ReleaseTransportDIB(iterator->second.transport_store.get());
  ReleaseTransportDIB(iterator->second.background_store.get());

  old_transport_dibs_.erase(iterator);
}

void WebPluginDelegateProxy::OnUpdateGeometry_ACK(int ack_key) {
  DCHECK_NE(ack_key, -1);

  OldTransportDIBMap::iterator iterator = old_transport_dibs_.find(ack_key);

  DCHECK(iterator != old_transport_dibs_.end());

  ReleaseTransportDIB(iterator->second.backing_store.get());
  ReleaseTransportDIB(iterator->second.transport_store.get());
  ReleaseTransportDIB(iterator->second.background_store.get());

  old_transport_dibs_.erase(iterator);
}
