Bug 1247056 - Fix DecoderDoctor logging - r=jwwang
authorGerald Squelart <gsquelart@mozilla.com>
Tue, 06 Sep 2016 22:36:36 -0700
changeset 315333 d2efccd7743c541505467f0721558a3ab36d3458
parent 315332 40270f33ff471b1cd04f89e9898cce2e4f5c8db8
child 315334 61b24fd0214910c2badeb0806f0ef3682ee522f5
push id30748
push usercbook@mozilla.com
push dateWed, 28 Sep 2016 13:53:19 +0000
treeherdermozilla-central@8c84b7618840 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwwang
bugs1247056
milestone52.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 1247056 - Fix DecoderDoctor logging - r=jwwang MozReview-Commit-ID: FbRXn0CtKiZ
dom/media/DecoderDoctorDiagnostics.cpp
--- a/dom/media/DecoderDoctorDiagnostics.cpp
+++ b/dom/media/DecoderDoctorDiagnostics.cpp
@@ -706,17 +706,17 @@ DecoderDoctorDiagnostics::StoreMediaKeyS
     return;
   }
 
   RefPtr<DecoderDoctorDocumentWatcher> watcher =
     DecoderDoctorDocumentWatcher::RetrieveOrCreate(aDocument);
 
   if (NS_WARN_IF(!watcher)) {
     DD_WARN("DecoderDoctorDiagnostics[%p]::StoreMediaKeySystemAccess(nsIDocument* aDocument=%p, keysystem='%s', supported=%d, call site '%s') - Could not create document watcher",
-            this, NS_ConvertUTF16toUTF8(aKeySystem).get(), aIsSupported, aCallSite);
+            this, aDocument, NS_ConvertUTF16toUTF8(aKeySystem).get(), aIsSupported, aCallSite);
     return;
   }
 
   mKeySystem = aKeySystem;
   mIsKeySystemSupported = aIsSupported;
 
   // StoreDiagnostics should only be called once, after all data is available,
   // so it is safe to Move() from this object.