Backed out changeset b90dc48988d4 (bug 1254829) because it got a retroactive r-.
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 01 Apr 2016 13:21:25 -0400
changeset 291221 99e7d6fbcbd9258a5fea2edb7615aeea89b3731e
parent 291220 d9c26f4f5a3be0f1023238ab1d7e3932ba165b0b
child 291222 9861363aaea9d0edd375f61522b058ab179543bb
push id74521
push userryanvm@gmail.com
push dateFri, 01 Apr 2016 17:22:11 +0000
treeherdermozilla-inbound@99e7d6fbcbd9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1254829
milestone48.0a1
backs outb90dc48988d46ca3e26b097a1f7af05734626cb2
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
Backed out changeset b90dc48988d4 (bug 1254829) because it got a retroactive r-.
gfx/gl/GLContextProviderWGL.cpp
--- a/gfx/gl/GLContextProviderWGL.cpp
+++ b/gfx/gl/GLContextProviderWGL.cpp
@@ -11,17 +11,16 @@
 #include "gfxPlatform.h"
 #include "gfxWindowsSurface.h"
 
 #include "gfxCrashReporterUtils.h"
 
 #include "prenv.h"
 
 #include "mozilla/Preferences.h"
-#include "mozilla/StaticPtr.h"
 
 namespace mozilla {
 namespace gl {
 
 using namespace mozilla::gfx;
 
 WGLLibrary sWGLLib;
 
@@ -683,17 +682,17 @@ GLContextProviderWGL::CreateOffscreen(co
         return nullptr;
 
     if (!gl->InitOffscreen(size, minCaps))
         return nullptr;
 
     return gl.forget();
 }
 
-static StaticRefPtr<GLContextWGL> gGlobalContext;
+static RefPtr<GLContextWGL> gGlobalContext;
 
 /*static*/ GLContext*
 GLContextProviderWGL::GetGlobalContext()
 {
     if (!sWGLLib.EnsureInitialized()) {
         return nullptr;
     }