mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Bug 1337698 - Use UniquePtr instead of nsAutoPtr in editor
* PlaceholderTransaction should use UniquePtr * HTMLEditor should use UniquePtr * TypeInState should use UniquePtr Tag #1375
This commit is contained in:
parent
6aa436b588
commit
32e4ad01e3
10 changed files with 32 additions and 44 deletions
|
|
@ -287,7 +287,7 @@ HTMLEditor::Init(nsIDOMDocument* aDoc,
|
|||
}
|
||||
|
||||
// Init the HTML-CSS utils
|
||||
mCSSEditUtils = new CSSEditUtils(this);
|
||||
mCSSEditUtils = MakeUnique<CSSEditUtils>(this);
|
||||
|
||||
// disable links
|
||||
nsCOMPtr<nsIPresShell> presShell = GetPresShell();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue