Bug 1247056 - Fix DecoderDoctor logging - r=jwwang draft
authorGerald Squelart <gsquelart@mozilla.com>
Tue, 06 Sep 2016 22:36:36 -0700
changeset 417919 0beec5d67050
parent 417918 7ffdae6ca2e1
child 417920 c7bef854434e
push id30524
push usergsquelart@mozilla.com
push dateTue, 27 Sep 2016 09:30:55 +0000
reviewersjwwang
bugs1247056
milestone52.0a1
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.