зеркало из https://github.com/mozilla/gecko-dev.git
Bug 984786 part 6: Mark struct nsRangeStore in /editor as MOZ_FINAL & give it a private destructor. r=ehsan
This commit is contained in:
Родитель
0a7b04c924
Коммит
ae9419c109
|
@ -28,10 +28,15 @@ class Selection;
|
|||
*/
|
||||
|
||||
// first a helper struct for saving/setting ranges
|
||||
struct nsRangeStore
|
||||
struct nsRangeStore MOZ_FINAL
|
||||
{
|
||||
nsRangeStore();
|
||||
|
||||
private:
|
||||
// Private destructor, to discourage deletion outside of Release():
|
||||
~nsRangeStore();
|
||||
|
||||
public:
|
||||
nsresult StoreRange(nsIDOMRange *aRange);
|
||||
nsresult GetRange(nsRange** outRange);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче