Bug 1287182. Fix static analysis build r=jrmuizel.
☠☠ backed out by 1ebb63485643 ☠ ☠
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Tue, 19 Jul 2016 12:55:34 -0400
changeset 345762 8b59e729f75e91c15884574c46901169cdb9d8c2
parent 345761 351c16b1c082c624cb19d9b3e2cbef7dd3a95f40
child 345763 90cb06731647114f0305dd33f7dedc32d41c4661
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1287182
milestone50.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 1287182. Fix static analysis build r=jrmuizel.
gfx/gl/GLLibraryEGL.cpp
--- a/gfx/gl/GLLibraryEGL.cpp
+++ b/gfx/gl/GLLibraryEGL.cpp
@@ -172,17 +172,17 @@ GetAndInitDisplay(GLLibraryEGL& egl, voi
     if (!egl.fInitialize(display, nullptr, nullptr))
         return EGL_NO_DISPLAY;
 
     return display;
 }
 
 class AngleErrorReporting: public angle::Platform {
 public:
-    AngleErrorReporting(nsACString *aFailureId)
+    explicit AngleErrorReporting(nsACString *aFailureId)
         : mFailureId(aFailureId)
     {}
 
     void logError(const char *errorMessage) override
     {
         nsCString str(errorMessage);
         Tokenizer tokenizer(str);