From fa8a767c0c6b8f32c60f084e2c40ca5b0c22ce5b Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Wed, 10 Sep 2014 14:52:36 -0700 Subject: [PATCH] Bug 1065049 - Enable logging of GMP process name. r=jesup --- content/media/gmp/GMPChild.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/media/gmp/GMPChild.cpp b/content/media/gmp/GMPChild.cpp index a76f46a575b7..36389b2c3b47 100644 --- a/content/media/gmp/GMPChild.cpp +++ b/content/media/gmp/GMPChild.cpp @@ -9,6 +9,7 @@ #include "GMPAudioDecoderChild.h" #include "GMPDecryptorChild.h" #include "GMPVideoHost.h" +#include "nsDebugImpl.h" #include "nsIFile.h" #include "nsXULAppAPI.h" #include "gmp-video-decode.h" @@ -42,6 +43,7 @@ GMPChild::GMPChild() , mGetAPIFunc(nullptr) , mGMPMessageLoop(MessageLoop::current()) { + nsDebugImpl::SetMultiprocessMode("GMP"); } GMPChild::~GMPChild()