mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 14:54:25 +00: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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user