From ba8ad496f44632d56b3d678af725a1b2251a4574 Mon Sep 17 00:00:00 2001 From: Benoit Girard Date: Mon, 28 Jan 2013 16:57:33 -0500 Subject: [PATCH] Bug 815602 - Fix invalid drawable error in console after starting Firefox. r=mattwoodrow --HG-- extra : rebase_source : c24a03252404ac5d25d4fdb62c6f749ea34dab86 --- gfx/gl/GLContextProviderCGL.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/gfx/gl/GLContextProviderCGL.mm b/gfx/gl/GLContextProviderCGL.mm index ff0b53c09ea..b7dfc9166e9 100644 --- a/gfx/gl/GLContextProviderCGL.mm +++ b/gfx/gl/GLContextProviderCGL.mm @@ -430,9 +430,6 @@ GLContextProviderCGL::CreateForWindow(nsIWidget *aWidget) return nullptr; } - NSView *childView = (NSView *)aWidget->GetNativeData(NS_NATIVE_WIDGET); - [context setView:childView]; - // make the context transparent nsRefPtr glContext = new GLContextCGL(ContextFormat(ContextFormat::BasicRGB24), shareContext,