зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1156096 - Mark PathPointParams::mPath as MOZ_OWNING_REF; r=baku
This commit is contained in:
Родитель
17c3962134
Коммит
aa02c53f71
|
@ -36,7 +36,9 @@ struct TranslationParams { // Simple translation
|
|||
float mY;
|
||||
};
|
||||
struct PathPointParams { // Point along a path
|
||||
Path* mPath; // NOTE: Refcounted; need to AddRef/Release.
|
||||
// Refcounted: need to AddRef/Release. This can't be an nsRefPtr because
|
||||
// this struct is used inside a union so it can't have a default constructor.
|
||||
Path* MOZ_OWNING_REF mPath;
|
||||
float mDistToPoint; // Distance from path start to the point on the path that
|
||||
// we're interested in.
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче