Bug 868778 - Part d: Actually move DataChannel to WebIDL.
authorMs2ger <ms2ger@gmail.com>
Mon, 20 May 2013 11:48:16 +0200
changeset 143861 ca7f8131a8d4ee0de01ee7d513a3543815846997
parent 143860 b94e996b05fd657336723355ff4c905220a8c9ce
child 143866 cc5c6e1b214783a27bc6fbcdda68f4260ab9433a
child 143885 a914d2d6dfdce6a044f1a2abe6e67bc31a42aaf7
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs868778
milestone24.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 868778 - Part d: Actually move DataChannel to WebIDL.
content/base/src/nsDOMDataChannel.h
--- a/content/base/src/nsDOMDataChannel.h
+++ b/content/base/src/nsDOMDataChannel.h
@@ -16,17 +16,19 @@
 class nsDOMDataChannel : public nsDOMEventTargetHelper,
                          public nsIDOMDataChannel,
                          public mozilla::DataChannelListener
 {
 public:
   nsDOMDataChannel(already_AddRefed<mozilla::DataChannel> aDataChannel)
     : mDataChannel(aDataChannel)
     , mBinaryType(DC_BINARY_TYPE_BLOB)
-  {}
+  {
+    SetIsDOMBinding();
+  }
 
   ~nsDOMDataChannel();
 
   nsresult Init(nsPIDOMWindow* aDOMWindow);
 
   NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_NSIDOMDATACHANNEL