Backed out changeset 80d85e3fdf41 (bug 1046573) for bustage.
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 05 Aug 2014 13:58:50 -0400
changeset 198019 7efc5743fc2b6a8b7d8de64e96ab87d1ed916732
parent 198018 cf5d28075da421778ecbe40e2b40111e7b6894dc
child 198020 591fb2c4ee157f5089d03fe467954c31d734cfa9
push id1036
push userrnewman@mozilla.com
push dateWed, 06 Aug 2014 02:14:58 +0000
treeherderservices-central@3fd543e150c8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1046573
milestone34.0a1
backs out80d85e3fdf41554337e55b673d8032902369c8ca
Backed out changeset 80d85e3fdf41 (bug 1046573) for bustage. CLOSED TREE
layout/generic/nsSelection.cpp
--- a/layout/generic/nsSelection.cpp
+++ b/layout/generic/nsSelection.cpp
@@ -357,22 +357,16 @@ nsFrameSelection::nsFrameSelection()
   mSelectionChangeReason = nsISelectionListener::NO_REASON;
 
   mDelayedMouseEventValid = false;
   // These values are not used since they are only valid when
   // mDelayedMouseEventValid is true, and setting mDelayedMouseEventValid
   //alwaysoverrides these values.
   mDelayedMouseEventIsShift = false;
   mDelayedMouseEventClickCount = 0;
-
-  nsCOMPtr<nsIObserverService> observerService =
-    mozilla::services::GetObserverService();
-  if (observerService) {
-    observerService->NotifyObservers(this, "selection-object-created", nullptr);
-  }
 }
 
 
 NS_IMPL_CYCLE_COLLECTION_CLASS(nsFrameSelection)
 
 NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsFrameSelection)
   int32_t i;
   for (i = 0; i < nsISelectionController::NUM_SELECTIONTYPES; ++i) {