| Index: webkit/plugins/ppapi/ppb_broker_impl.cc
|
| diff --git a/webkit/plugins/ppapi/ppb_broker_impl.cc b/webkit/plugins/ppapi/ppb_broker_impl.cc
|
| index 8b41c28ac0deda5c49e5061140db3ca0fb40c735..46ff79f49e09e85555c6b44e1400250f81cc68c1 100644
|
| --- a/webkit/plugins/ppapi/ppb_broker_impl.cc
|
| +++ b/webkit/plugins/ppapi/ppb_broker_impl.cc
|
| @@ -69,10 +69,8 @@ int32_t PPB_Broker_Impl::Connect(PP_CompletionCallback connect_callback) {
|
| // and BrokerConnected is called before ConnectToPpapiBroker returns.
|
| // Because it must be created now, it must be aborted and cleared if
|
| // ConnectToPpapiBroker fails.
|
| - PP_Resource resource_id = GetReferenceNoAddRef();
|
| - CHECK(resource_id);
|
| connect_callback_ = new TrackedCompletionCallback(
|
| - instance()->module()->GetCallbackTracker(), resource_id,
|
| + instance()->module()->GetCallbackTracker(), pp_resource(),
|
| connect_callback);
|
|
|
| broker_ = instance()->delegate()->ConnectToPpapiBroker(this);
|
|
|