Bug 1041226: disable crashreporter in GMP plugins until it's ready r=gfritzsche a=kwierso
authorRandell Jesup <rjesup@jesup.org>
Sat, 19 Jul 2014 19:47:43 -0400
changeset 216934 1e7f2af8d929c663e3b2c47a77d0028b86791a9d
parent 216933 54e78e0153a8a3c2c98553aa4b089535d4c0d97a
child 216935 0894d2cdb16ddf542fc511fd45dc6226d8b10c98
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgfritzsche, kwierso
bugs1041226
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1041226: disable crashreporter in GMP plugins until it's ready r=gfritzsche a=kwierso
content/media/gmp/GMPChild.cpp
--- a/content/media/gmp/GMPChild.cpp
+++ b/content/media/gmp/GMPChild.cpp
@@ -42,19 +42,22 @@ GMPChild::~GMPChild()
 }
 
 bool
 GMPChild::Init(const std::string& aPluginPath,
                base::ProcessHandle aParentProcessHandle,
                MessageLoop* aIOLoop,
                IPC::Channel* aChannel)
 {
+#ifdef GMP_CRASHREPORTER_READY
+// See bug 1041226
 #ifdef MOZ_CRASHREPORTER
   SendPCrashReporterConstructor(CrashReporter::CurrentThreadId());
 #endif
+#endif
 #if defined(XP_WIN)
   mozilla::SandboxTarget::Instance()->StartSandbox();
 #endif
   return LoadPluginLibrary(aPluginPath) &&
          Open(aChannel, aParentProcessHandle, aIOLoop);
 }
 
 bool