Bug 1629421 Fix redundant string initialization of ClientWebGlContext.cpp r=sylvestre
authorTaegeon Lee <ash153311@gmail.com'>
Fri, 05 Jun 2020 11:15:30 +0000
changeset 534123 4f101900342eaf915403e2898ff11f2c1be6a1bd
parent 534122 cf9b81801abc394ce9a973a463e32380be96ad4c
child 534124 1a8d79d0832fed96b4df55d28afe3925f6d8414f
push id37483
push userapavel@mozilla.com
push dateFri, 05 Jun 2020 21:40:11 +0000
treeherdermozilla-central@dadc7312128e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssylvestre
bugs1629421
milestone79.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 1629421 Fix redundant string initialization of ClientWebGlContext.cpp r=sylvestre Differential Revision: https://phabricator.services.mozilla.com/D78458
media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp
--- a/media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp
+++ b/media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp
@@ -45,17 +45,17 @@ WebrtcGmpPCHandleSetter::~WebrtcGmpPCHan
   if (!NS_IsMainThread()) {
     MOZ_ASSERT(false, "WebrtcGmpPCHandleSetter can only be used on main");
     return "";
   }
 
   return sCurrentHandle;
 }
 
-std::string WebrtcGmpPCHandleSetter::sCurrentHandle = "";
+std::string WebrtcGmpPCHandleSetter::sCurrentHandle;
 
 // Encoder.
 WebrtcGmpVideoEncoder::WebrtcGmpVideoEncoder()
     : mGMP(nullptr),
       mInitting(false),
       mHost(nullptr),
       mMaxPayloadSize(0),
       mCallbackMutex("WebrtcGmpVideoEncoder encoded callback mutex"),