Bug 1082835 - TabChildGlobal does not use DOM bindings, and should be marked so, r=peterv
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Wed, 15 Oct 2014 12:43:25 +0300
changeset 210529 90f3911cb10729fd48a2bce7e73332dc7b534734
parent 210528 fdcdc0dbc52c85082668f6e2608555e155545206
child 210530 e3e717e9b62827b16b236fa67bcdce7f6065a89e
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewerspeterv
bugs1082835
milestone36.0a1
Bug 1082835 - TabChildGlobal does not use DOM bindings, and should be marked so, r=peterv
dom/ipc/TabChild.cpp
--- a/dom/ipc/TabChild.cpp
+++ b/dom/ipc/TabChild.cpp
@@ -3017,16 +3017,17 @@ TabChild::RecvUIResolutionChanged()
   nsRefPtr<nsPresContext> presContext = presShell->GetPresContext();
   presContext->UIResolutionChanged();
   return true;
 }
 
 TabChildGlobal::TabChildGlobal(TabChildBase* aTabChild)
 : mTabChild(aTabChild)
 {
+  SetIsNotDOMBinding();
 }
 
 TabChildGlobal::~TabChildGlobal()
 {
 }
 
 void
 TabChildGlobal::Init()