Fix incorrect assert in VsyncBridgeChild. (bug 1303452, r=gwright)
authorDavid Anderson <danderson@mozilla.com>
Sun, 18 Sep 2016 22:13:53 -0700
changeset 357871 672663f1a298ef69d17742a8da54c44f3b788aca
parent 357870 9cb90011a89673ca47abbf4fd953490cfea37484
child 357872 fc69febcbf6c0dcc4b3dfc7a346d8d348798a65f
child 359486 a5183ca6cbadc527492427a56c5660c9a80c16fd
push id1324
push usermtabara@mozilla.com
push dateMon, 16 Jan 2017 13:07:44 +0000
treeherdermozilla-release@a01c49833940 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgwright
bugs1303452
milestone51.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
Fix incorrect assert in VsyncBridgeChild. (bug 1303452, r=gwright)
gfx/ipc/VsyncBridgeChild.cpp
--- a/gfx/ipc/VsyncBridgeChild.cpp
+++ b/gfx/ipc/VsyncBridgeChild.cpp
@@ -130,13 +130,13 @@ void
 VsyncBridgeChild::DeallocPVsyncBridgeChild()
 {
   Release();
 }
 
 void
 VsyncBridgeChild::ProcessingError(Result aCode, const char* aReason)
 {
-  MOZ_RELEASE_ASSERT(aCode != MsgDropped, "Processing error in VsyncBridgeChild");
+  MOZ_RELEASE_ASSERT(aCode == MsgDropped, "Processing error in VsyncBridgeChild");
 }
 
 } // namespace gfx
 } // namespace mozilla