Bug 1189353 - Change NS_ macro prefix to MOZ_ in AccessibleCaretEventHub. r=mtseng
authorTing-Yu Lin <tlin@mozilla.com>
Thu, 30 Jul 2015 08:07:00 -0400
changeset 287533 5a52576d240161dc532596e77856a47cc35d3b60
parent 287532 1ddb3a3a725577047292f98a34b4272540729f57
child 287534 10bdc996eb3cea12229f2ed22a932b134bc8aa3f
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtseng
bugs1189353
milestone42.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 1189353 - Change NS_ macro prefix to MOZ_ in AccessibleCaretEventHub. r=mtseng
layout/base/AccessibleCaretEventHub.cpp
layout/base/AccessibleCaretEventHub.h
--- a/layout/base/AccessibleCaretEventHub.cpp
+++ b/layout/base/AccessibleCaretEventHub.cpp
@@ -363,23 +363,23 @@ AccessibleCaretEventHub::SetState(State*
 
   AC_LOG("%s -> %s", mState->Name(), aState->Name());
 
   mState->Leave(this);
   mState = aState;
   mState->Enter(this);
 }
 
-NS_IMPL_STATE_CLASS_GETTER(NoActionState)
-NS_IMPL_STATE_CLASS_GETTER(PressCaretState)
-NS_IMPL_STATE_CLASS_GETTER(DragCaretState)
-NS_IMPL_STATE_CLASS_GETTER(PressNoCaretState)
-NS_IMPL_STATE_CLASS_GETTER(ScrollState)
-NS_IMPL_STATE_CLASS_GETTER(PostScrollState)
-NS_IMPL_STATE_CLASS_GETTER(LongTapState)
+MOZ_IMPL_STATE_CLASS_GETTER(NoActionState)
+MOZ_IMPL_STATE_CLASS_GETTER(PressCaretState)
+MOZ_IMPL_STATE_CLASS_GETTER(DragCaretState)
+MOZ_IMPL_STATE_CLASS_GETTER(PressNoCaretState)
+MOZ_IMPL_STATE_CLASS_GETTER(ScrollState)
+MOZ_IMPL_STATE_CLASS_GETTER(PostScrollState)
+MOZ_IMPL_STATE_CLASS_GETTER(LongTapState)
 
 AccessibleCaretEventHub::AccessibleCaretEventHub()
 {
 }
 
 AccessibleCaretEventHub::~AccessibleCaretEventHub()
 {
 }
--- a/layout/base/AccessibleCaretEventHub.h
+++ b/layout/base/AccessibleCaretEventHub.h
@@ -82,34 +82,34 @@ public:
 
   // Base state
   class State;
   State* GetState() const;
 
 protected:
   virtual ~AccessibleCaretEventHub();
 
-#define NS_DECL_STATE_CLASS_GETTER(aClassName)                                 \
+#define MOZ_DECL_STATE_CLASS_GETTER(aClassName)                                \
   class aClassName;                                                            \
   static State* aClassName();
 
-#define NS_IMPL_STATE_CLASS_GETTER(aClassName)                                 \
+#define MOZ_IMPL_STATE_CLASS_GETTER(aClassName)                                \
   AccessibleCaretEventHub::State* AccessibleCaretEventHub::aClassName()        \
   {                                                                            \
     return AccessibleCaretEventHub::aClassName::Singleton();                   \
   }
 
   // Concrete state getters
-  NS_DECL_STATE_CLASS_GETTER(NoActionState)
-  NS_DECL_STATE_CLASS_GETTER(PressCaretState)
-  NS_DECL_STATE_CLASS_GETTER(DragCaretState)
-  NS_DECL_STATE_CLASS_GETTER(PressNoCaretState)
-  NS_DECL_STATE_CLASS_GETTER(ScrollState)
-  NS_DECL_STATE_CLASS_GETTER(PostScrollState)
-  NS_DECL_STATE_CLASS_GETTER(LongTapState)
+  MOZ_DECL_STATE_CLASS_GETTER(NoActionState)
+  MOZ_DECL_STATE_CLASS_GETTER(PressCaretState)
+  MOZ_DECL_STATE_CLASS_GETTER(DragCaretState)
+  MOZ_DECL_STATE_CLASS_GETTER(PressNoCaretState)
+  MOZ_DECL_STATE_CLASS_GETTER(ScrollState)
+  MOZ_DECL_STATE_CLASS_GETTER(PostScrollState)
+  MOZ_DECL_STATE_CLASS_GETTER(LongTapState)
 
   void SetState(State* aState);
 
   nsEventStatus HandleMouseEvent(WidgetMouseEvent* aEvent);
   nsEventStatus HandleWheelEvent(WidgetWheelEvent* aEvent);
   nsEventStatus HandleTouchEvent(WidgetTouchEvent* aEvent);
   nsEventStatus HandleKeyboardEvent(WidgetKeyboardEvent* aEvent);