Lines Matching refs:id_
13 ScopedPPResource::ScopedPPResource() : id_(0) {}
15 ScopedPPResource::ScopedPPResource(PP_Resource resource) : id_(resource) {
20 : id_(resource) {}
23 : id_(resource ? resource->GetReference() : 0) {
28 : id_(other.id_) {
35 if (id_ == resource)
38 id_ = resource;
45 if (id_ == resource.id_)
48 id_ = resource.id_;
57 PP_Resource ret = id_;
58 id_ = 0;
63 if (id_)
64 PpapiGlobals::Get()->GetResourceTracker()->AddRefResource(id_);
68 if (id_)
69 PpapiGlobals::Get()->GetResourceTracker()->ReleaseResource(id_);