Bug 1542155 - LSNG: Convert MOZ_ALWAYS_TRUE(SendFinish()) to MOZ_DIAGNOSTIC_ALWAYS_TRUE(SendFinish()); r=asuth
authorJan Varga <jan.varga@gmail.com>
Fri, 05 Apr 2019 16:46:59 +0200
changeset 469599 65e46003724d
parent 469598 aad2748fe8f9
child 469600 a2b89a27e8eb
push id35875
push userccoroiu@mozilla.com
push dateTue, 16 Apr 2019 04:06:16 +0000
treeherdermozilla-central@a83cab75b00d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth
bugs1542155
milestone68.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 1542155 - LSNG: Convert MOZ_ALWAYS_TRUE(SendFinish()) to MOZ_DIAGNOSTIC_ALWAYS_TRUE(SendFinish()); r=asuth
dom/localstorage/ActorsChild.cpp
--- a/dom/localstorage/ActorsChild.cpp
+++ b/dom/localstorage/ActorsChild.cpp
@@ -188,17 +188,17 @@ mozilla::ipc::IPCResult LSRequestChild::
 
 mozilla::ipc::IPCResult LSRequestChild::RecvReady() {
   AssertIsOnOwningThread();
 
   mFinishing = true;
 
   // We only expect this to return false if the channel has been closed, but
   // PBackground's channel never gets shutdown.
-  MOZ_ALWAYS_TRUE(SendFinish());
+  MOZ_DIAGNOSTIC_ALWAYS_TRUE(SendFinish());
 
   return IPC_OK();
 }
 
 /*******************************************************************************
  * LSSimpleRequestChild
  ******************************************************************************/