Bug 1328423 - Switch tab switch assertion to use AutoAssertNoContentJS (r=dvander)
authorBill McCloskey <billm@mozilla.com>
Wed, 11 Jan 2017 16:04:40 -0800
changeset 374721 dffce96fd4a0a2c925d5312ce8576b16cb37f112
parent 374720 b48a84c99dfcee268030c7cda4d546de2383fe8d
child 374722 672f1b3720ebe954d4fb5442f4745ac5445f7c6f
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander
bugs1328423
milestone53.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 1328423 - Switch tab switch assertion to use AutoAssertNoContentJS (r=dvander) MozReview-Commit-ID: D7bAfJRWLRg
dom/ipc/ProcessHangMonitor.cpp
--- a/dom/ipc/ProcessHangMonitor.cpp
+++ b/dom/ipc/ProcessHangMonitor.cpp
@@ -311,17 +311,17 @@ HangMonitorChild::InterruptCallback()
     forcePaintEpoch = mForcePaintEpoch;
 
     mForcePaint = false;
   }
 
   if (forcePaint) {
     RefPtr<TabChild> tabChild = TabChild::FindTabChild(forcePaintTab);
     if (tabChild) {
-      JS::AutoAssertNoGC nogc(mContext);
+      js::AutoAssertNoContentJS nojs(mContext);
       tabChild->ForcePaint(forcePaintEpoch);
     }
   }
 }
 
 void
 HangMonitorChild::Shutdown()
 {