Bug 855486 - Paris binding for TextEvent, r=peterv
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 28 Mar 2013 16:25:59 +0200
changeset 126637 7cd3d772634a6dcf3ec3820731db50ab296b5c24
parent 126636 390e9d43975ab4d6d02c1d2d7ff9c9477b697233
child 126638 49f0306ffa2f35e0812f9cba74d3aa416ca17e2e
push id24492
push userryanvm@gmail.com
push dateSat, 30 Mar 2013 23:31:27 +0000
treeherdermozilla-central@1932c6f78248 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspeterv
bugs855486
milestone22.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 855486 - Paris binding for TextEvent, r=peterv
content/events/src/nsDOMTextEvent.cpp
--- a/content/events/src/nsDOMTextEvent.cpp
+++ b/content/events/src/nsDOMTextEvent.cpp
@@ -42,16 +42,17 @@ nsDOMTextEvent::nsDOMTextEvent(mozilla::
       nsRefPtr<nsPrivateTextRange> tempPrivateTextRange = new
         nsPrivateTextRange(te->rangeArray[i]);
 
       if (tempPrivateTextRange) {
         mTextRange->AppendTextRange(tempPrivateTextRange);
       }
     }
   }
+  SetIsDOMBinding();
 }
 
 NS_IMPL_ADDREF_INHERITED(nsDOMTextEvent, nsDOMUIEvent)
 NS_IMPL_RELEASE_INHERITED(nsDOMTextEvent, nsDOMUIEvent)
 
 NS_INTERFACE_MAP_BEGIN(nsDOMTextEvent)
   NS_INTERFACE_MAP_ENTRY(nsIPrivateTextEvent)
 NS_INTERFACE_MAP_END_INHERITING(nsDOMUIEvent)