Bug 1437893 - Removed an unnecessary string initialization in cdm-test-decryptor.cpp r=cpearce
authorvprabhu <venkateshprabhu2@gmail.com>
Tue, 27 Feb 2018 18:15:45 +0530
changeset 405704 7ce5b596279883bb34d36a48b6dcd95cb51c7318
parent 405703 1795687786a6fd595555d1deb6f05cb36d59f1fa
child 405705 c518398e5fd10943d41ac660ba05c978d52edfd1
push id33530
push usercsabou@mozilla.com
push dateWed, 28 Feb 2018 21:47:36 +0000
treeherdermozilla-central@b3c95e78fd75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1437893
milestone60.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 1437893 - Removed an unnecessary string initialization in cdm-test-decryptor.cpp r=cpearce MozReview-Commit-ID: 6iD2ffbSSar
dom/media/fake-cdm/cdm-test-decryptor.cpp
--- a/dom/media/fake-cdm/cdm-test-decryptor.cpp
+++ b/dom/media/fake-cdm/cdm-test-decryptor.cpp
@@ -421,17 +421,17 @@ public:
 
 enum ShutdownMode {
   ShutdownNormal,
   ShutdownTimeout,
   ShutdownStoreToken
 };
 
 static ShutdownMode sShutdownMode = ShutdownNormal;
-static string sShutdownToken = "";
+static string sShutdownToken;
 
 void
 FakeDecryptor::UpdateSession(uint32_t aPromiseId,
                              const char* aSessionId,
                              uint32_t aSessionIdLength,
                              const uint8_t* aResponse,
                              uint32_t aResponseSize)
 {