Bug 815602 - Fix invalid drawable error in console after starting Firefox. r=mattwoodrow

--HG--
extra : rebase_source : c24a03252404ac5d25d4fdb62c6f749ea34dab86
This commit is contained in:
Benoit Girard 2013-01-28 16:57:33 -05:00
parent 65108e44ae
commit ba8ad496f4

View File

@ -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<GLContextCGL> glContext = new GLContextCGL(ContextFormat(ContextFormat::BasicRGB24),
shareContext,