Bug 1134385. Delete main thread assertion in CompositorVsyncDispatcher. r=kats
authorMason Chang <mchang@mozilla.com>
Mon, 20 Apr 2015 17:28:25 -0700
changeset 269911 cc294803b7d9a6abc19461ee6f6e871002ffa569
parent 269910 2f011e332b6846b3e771cec255a3cb396da359e3
child 269912 0e2c0966c3df6f1cc4f7b2c36bada763f90b3f29
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1134385
milestone40.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 1134385. Delete main thread assertion in CompositorVsyncDispatcher. r=kats
widget/VsyncDispatcher.cpp
--- a/widget/VsyncDispatcher.cpp
+++ b/widget/VsyncDispatcher.cpp
@@ -32,17 +32,16 @@ CompositorVsyncDispatcher::CompositorVsy
   MOZ_ASSERT(XRE_IsParentProcess());
   MOZ_ASSERT(NS_IsMainThread());
 }
 
 CompositorVsyncDispatcher::~CompositorVsyncDispatcher()
 {
   MOZ_ASSERT(XRE_IsParentProcess());
   // We auto remove this vsync dispatcher from the vsync source in the nsBaseWidget
-  MOZ_ASSERT(NS_IsMainThread());
 }
 
 void
 CompositorVsyncDispatcher::NotifyVsync(TimeStamp aVsyncTimestamp)
 {
   // In vsync thread
 #ifdef MOZ_ENABLE_PROFILER_SPS
   layers::CompositorParent::PostInsertVsyncProfilerMarker(aVsyncTimestamp);