mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 11:25:22 -05:00
17 lines
730 B
Diff
17 lines
730 B
Diff
|
changeset: 312045:7aea44059251
|
||
|
user: Olli Pettay <Olli.Pettay@helsinki.fi>
|
||
|
Date: Fri May 13 20:10:22 2016 +0300
|
||
|
summary: Bug 1271460, don't leak editor created element objects, r=ehsan a=ritu
|
||
|
|
||
|
diff -r 09418166fd77 -r 7aea44059251 editor/libeditor/nsHTMLInlineTableEditor.cpp
|
||
|
--- a/editor/libeditor/nsHTMLInlineTableEditor.cpp Wed May 11 10:14:45 2016 +0100
|
||
|
+++ b/editor/libeditor/nsHTMLInlineTableEditor.cpp Fri May 13 20:10:22 2016 +0300
|
||
|
@@ -109,7 +109,6 @@
|
||
|
|
||
|
// get the root content node.
|
||
|
nsCOMPtr<nsIContent> bodyContent = GetRoot();
|
||
|
- NS_ENSURE_TRUE(bodyContent, NS_ERROR_FAILURE);
|
||
|
|
||
|
DeleteRefToAnonymousNode(mAddColumnBeforeButton, bodyContent, ps);
|
||
|
mAddColumnBeforeButton = nullptr;
|