From 0225ce362d3834528038ad8a86a2d9d7f7827972 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Wed, 28 Jan 2015 09:41:56 -0800 Subject: [PATCH] Bug 1126541: Don't depend on implicit uint32_t-to-bool conversion in DocAccessibleParent::RecvShowEvent's final return statement. r=tbsaunde --- accessible/ipc/DocAccessibleParent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/ipc/DocAccessibleParent.cpp b/accessible/ipc/DocAccessibleParent.cpp index 4769813173ea..966e44a043b9 100644 --- a/accessible/ipc/DocAccessibleParent.cpp +++ b/accessible/ipc/DocAccessibleParent.cpp @@ -51,7 +51,7 @@ DocAccessibleParent::RecvShowEvent(const ShowEventData& aData) } #endif - return consumed; + return consumed != 0; } uint32_t