зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1058801 - Make mFilter a const reference in nsSVGFilterInstance, like in nsCSSFilterInstance. r=mstange
This commit is contained in:
Родитель
1d758c7592
Коммит
5820513009
|
@ -73,7 +73,9 @@ class nsSVGFilterInstance
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* @param aFilter The SVG reference filter to process.
|
* @param aFilter The SVG filter reference from the style system. This class
|
||||||
|
* stores aFilter by reference, so callers should avoid modifying or
|
||||||
|
* deleting aFilter during the lifetime of nsSVGFilterInstance.
|
||||||
* @param aTargetFrame The frame of the filtered element under consideration.
|
* @param aTargetFrame The frame of the filtered element under consideration.
|
||||||
* @param aTargetBBox The SVG bbox to use for the target frame, computed by
|
* @param aTargetBBox The SVG bbox to use for the target frame, computed by
|
||||||
* the caller. The caller may decide to override the actual SVG bbox.
|
* the caller. The caller may decide to override the actual SVG bbox.
|
||||||
|
@ -203,7 +205,7 @@ private:
|
||||||
/**
|
/**
|
||||||
* The SVG reference filter originally from the style system.
|
* The SVG reference filter originally from the style system.
|
||||||
*/
|
*/
|
||||||
const nsStyleFilter mFilter;
|
const nsStyleFilter& mFilter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The frame for the element that is currently being filtered.
|
* The frame for the element that is currently being filtered.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче