From ef0f273f0f8313aaffbdfa7a57fe368ff2c85271 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 21 Sep 2016 22:56:00 -0700 Subject: [PATCH] Fix build bustage from bug 1301266 (r=CLOSED TREE) --- gfx/layers/apz/util/CheckerboardReportService.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/layers/apz/util/CheckerboardReportService.cpp b/gfx/layers/apz/util/CheckerboardReportService.cpp index 664e76b5c701..7a93073d4071 100644 --- a/gfx/layers/apz/util/CheckerboardReportService.cpp +++ b/gfx/layers/apz/util/CheckerboardReportService.cpp @@ -10,6 +10,7 @@ #include "MainThreadUtils.h" // for NS_IsMainThread #include "mozilla/Assertions.h" // for MOZ_ASSERT #include "mozilla/ClearOnShutdown.h" // for ClearOnShutdown +#include "mozilla/Unused.h" #include "mozilla/dom/CheckerboardReportServiceBinding.h" // for dom::CheckerboardReports #include "mozilla/gfx/GPUParent.h" #include "nsContentUtils.h" // for nsContentUtils @@ -50,7 +51,7 @@ CheckerboardEventStorage::Report(uint32_t aSeverity, const std::string& aLog) if (XRE_IsGPUProcess()) { if (gfx::GPUParent* gpu = gfx::GPUParent::GetSingleton()) { nsCString log(aLog.c_str()); - gpu->SendReportCheckerboard(aSeverity, log); + Unused << gpu->SendReportCheckerboard(aSeverity, log); } return; }