apply mozilla patch
BUG=skia:4547 Review URL: https://codereview.chromium.org/1421793009
This commit is contained in:
parent
14184d5567
commit
d9ffaed6d2
@ -182,7 +182,11 @@ public:
|
|||||||
this->release();
|
this->release();
|
||||||
}
|
}
|
||||||
|
|
||||||
operator bool() const { return SkToBool(fResource); }
|
explicit operator bool() const { return SkToBool(fResource); }
|
||||||
|
|
||||||
|
bool operator==(const GrPendingIOResource& other) const {
|
||||||
|
return fResource == other.fResource;
|
||||||
|
}
|
||||||
|
|
||||||
T* get() const { return fResource; }
|
T* get() const { return fResource; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user