Bug 920377 part.19 Get rid of nsTextRangeArray r=roc
authorMasayuki Nakano <masayuki@d-toybox.com>
Sat, 28 Sep 2013 09:14:06 +0900
changeset 163243 3cef286bd24f4fb8895c27284c207d44a9e9d3fe
parent 163242 f94d70152968eafb220ca09cd6196458e36a94a1
child 163244 2e92ba62e3e6d3d171b8cb0d25ce9d6474aa9cf7
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs920377
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 920377 part.19 Get rid of nsTextRangeArray r=roc
widget/EventForwards.h
widget/TextEvents.h
--- a/widget/EventForwards.h
+++ b/widget/EventForwards.h
@@ -103,17 +103,16 @@ class InternalMutationEvent;
 } // namespace mozilla
 
 // TODO: Remove following typedefs
 typedef mozilla::WidgetEvent               nsEvent;
 typedef mozilla::WidgetGUIEvent            nsGUIEvent;
 typedef mozilla::WidgetInputEvent          nsInputEvent;
 typedef mozilla::InternalUIEvent           nsUIEvent;
 typedef mozilla::TextRange                 nsTextRange;
-typedef mozilla::TextRangeArray            nsTextRangeArray;
 typedef mozilla::WidgetTextEvent           nsTextEvent;
 typedef mozilla::WidgetCompositionEvent    nsCompositionEvent;
 typedef mozilla::WidgetQueryContentEvent   nsQueryContentEvent;
 typedef mozilla::WidgetSelectionEvent      nsSelectionEvent;
 typedef mozilla::WidgetMouseEventBase      nsMouseEvent_base;
 typedef mozilla::WidgetMouseEvent          nsMouseEvent;
 typedef mozilla::WidgetDragEvent           nsDragEvent;
 typedef mozilla::WidgetMouseScrollEvent    nsMouseScrollEvent;
--- a/widget/TextEvents.h
+++ b/widget/TextEvents.h
@@ -323,17 +323,17 @@ public:
   // The composition string or the commit string.
   nsString theText;
   // Count of rangeArray.
   uint32_t rangeCount;
   // Pointer to the first item of the ranges (clauses).
   // Note that the range array may not specify a caret position; in that
   // case there will be no range of type NS_TEXTRANGE_CARETPOSITION in the
   // array.
-  nsTextRangeArray rangeArray;
+  TextRangeArray rangeArray;
   // Indicates whether the event signifies printable text.
   // XXX This is not a standard, and most platforms don't set this properly.
   //     So, perhaps, we can get rid of this.
   bool isChar;
 
   void AssignTextEventData(const WidgetTextEvent& aEvent, bool aCopyTargets)
   {
     AssignGUIEventData(aEvent, aCopyTargets);
@@ -530,15 +530,14 @@ public:
   // true if setting selection succeeded.
   bool mSucceeded;
 };
 
 } // namespace mozilla
 
 // TODO: Remove following typedefs
 typedef mozilla::TextRange               nsTextRange;
-typedef mozilla::TextRangeArray          nsTextRangeArray;
 typedef mozilla::WidgetTextEvent         nsTextEvent;
 typedef mozilla::WidgetCompositionEvent  nsCompositionEvent;
 typedef mozilla::WidgetQueryContentEvent nsQueryContentEvent;
 typedef mozilla::WidgetSelectionEvent    nsSelectionEvent;
 
 #endif // mozilla_TextEvents_h__