Bug 1278452 - Remove unnecessary null checks in widget/gtk/. r=karlt.

|operator new| is infallible now.

--HG--
extra : rebase_source : 980a9097a84e75971bf514b10efe345abe09c51b
This commit is contained in:
Nicholas Nethercote 2016-06-07 15:00:47 +10:00
parent f4199d3aca
commit 86cec920da

View File

@ -34,7 +34,7 @@ bool InitWidgetTracing()
{ {
sMutex = new Mutex("Event tracer thread mutex"); sMutex = new Mutex("Event tracer thread mutex");
sCondVar = new CondVar(*sMutex, "Event tracer thread condvar"); sCondVar = new CondVar(*sMutex, "Event tracer thread condvar");
return sMutex && sCondVar; return true;
} }
void CleanUpWidgetTracing() void CleanUpWidgetTracing()