Bug 1063853, part 1 - Add a RemoveUserData() method to Moz2D DrawTarget. r=Bas

This commit is contained in:
Jonathan Watt 2014-09-05 18:11:29 +01:00
parent f49652d629
commit 439a9d464f

View File

@ -985,6 +985,9 @@ public:
void *GetUserData(UserDataKey *key) {
return mUserData.Get(key);
}
void *RemoveUserData(UserDataKey *key) {
return mUserData.Remove(key);
}
/** Within this rectangle all pixels will be opaque by the time the result of
* this DrawTarget is first used for drawing. Either by the underlying surface