Boris Zbarsky
839141fb74
Bug 1157898 part 3. Fix the remaining consumers of rv.ErrorCode() in NS_ENSURE_* expressions to not do that. r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
418f0f69c3
Bug 1157898 part 2. Make code of the form "NS_ENSURE_SUCCESS(rv.ErrorCode(), rv.ErrorCode());" use Failed and StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/NS_ENSURE_SUCCESS\(([a-zA-Z0-9]+)\.ErrorCode\(\), \1.ErrorCode\(\)\);/NS_ENSURE_TRUE(!\1.Failed(), \1.StealNSResult());/'
2015-04-27 09:18:52 -04:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Daniel Holbert
eccd00c15b
Bug 1093191 part 3: Make .cpp files in libeditor #include their own .h file first. r=ehsan
2014-12-01 21:07:42 -08:00
Daniel Holbert
11f5bb6f92
Bug 1093191 part 1: Remove some unnecessary #includes of stdio.h "for printf" in some libeditor files that don't use printf. r=ehsan
2014-12-01 21:06:55 -08:00
Aryeh Gregor
7a88b21c2d
Bug 1086349 part 5 - Clean up nsEditor::SplitNodeImpl; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
12ffa645e5
Bug 1086349 part 2 - Clean up SplitNodeTxn; r=ehsan
...
--HG--
rename : editor/libeditor/SplitElementTxn.cpp => editor/libeditor/SplitNodeTxn.cpp
rename : editor/libeditor/SplitElementTxn.h => editor/libeditor/SplitNodeTxn.h
2014-11-02 14:04:13 +02:00