diff --git a/dom/media/systemservices/CamerasChild.cpp b/dom/media/systemservices/CamerasChild.cpp index abbcc9e223..341c6e17a7 100644 --- a/dom/media/systemservices/CamerasChild.cpp +++ b/dom/media/systemservices/CamerasChild.cpp @@ -223,7 +223,7 @@ public: Dispatch(); } - const T& ReturnValue() const { + T ReturnValue() const { if (mSuccess) { return mSuccessValue; } else {