Bug 1126790: Move MainThreadIOLoggerImpl into anonymous namespace (joining a type used in one of its fields), to fix gcc warning. r=froydnj

This commit is contained in:
Daniel Holbert 2015-01-28 09:40:28 -08:00
parent 1d224b6824
commit 7707190851

View File

@ -43,11 +43,7 @@ struct ObservationWithStack
nsString mFilename;
};
} // anonymous namespace
namespace mozilla {
class MainThreadIOLoggerImpl MOZ_FINAL : public IOInterposeObserver
class MainThreadIOLoggerImpl MOZ_FINAL : public mozilla::IOInterposeObserver
{
public:
MainThreadIOLoggerImpl();
@ -204,6 +200,10 @@ MainThreadIOLoggerImpl::Observe(Observation& aObservation)
lock.Notify();
}
} // anonymous namespace
namespace mozilla {
namespace MainThreadIOLogger {
bool