Bug 1187322 - Fix bustage. a=sylvestre
authorMarkus Stange <mstange@themasta.com>
Tue, 29 Dec 2015 12:13:24 +0100
changeset 310990 2479bafc6db4cb197fbedbe67a845a8f66197952
parent 310989 4b11c07f23eb9e9091dff915d7ac5986b01b0cfe
child 310991 094570ece32bedbf9532147d599498eb021833fa
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssylvestre
bugs1187322
milestone45.0a2
Bug 1187322 - Fix bustage. a=sylvestre
gfx/layers/composite/LayerManagerComposite.cpp
--- a/gfx/layers/composite/LayerManagerComposite.cpp
+++ b/gfx/layers/composite/LayerManagerComposite.cpp
@@ -979,17 +979,17 @@ LayerManagerComposite::RenderToPresentat
   nsScreenGonk* mirrorScreen = mirrorScreenWidget->GetScreen();
   if (!mirrorScreen->GetTopWindows().IsEmpty()) {
     return;
   }
 
   EGLSurface surface = mirrorScreen->GetEGLSurface();
   if (surface == LOCAL_EGL_NO_SURFACE) {
     // Create GLContext
-    RefPtr<GLContext> gl = gl::GLContextProvider::CreateForWindow(mirrorScreenWidget);
+    RefPtr<GLContext> gl = gl::GLContextProvider::CreateForWindow(mirrorScreenWidget, false);
     mirrorScreenWidget->SetNativeData(NS_NATIVE_OPENGL_CONTEXT,
                                       reinterpret_cast<uintptr_t>(gl.get()));
     surface = mirrorScreen->GetEGLSurface();
     if (surface == LOCAL_EGL_NO_SURFACE) {
       // Failed to create EGLSurface
       return;
     }
   }