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 291280 99e7d6fbcbd9258a5fea2edb7615aeea89b3731e
parent 291279 d9c26f4f5a3be0f1023238ab1d7e3932ba165b0b
child 291281 9861363aaea9d0edd375f61522b058ab179543bb
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1254829
milestone48.0a1
backs outb90dc48988d46ca3e26b097a1f7af05734626cb2
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;
     }