Skip to content

Commit

Permalink
Bug 815602 - Fix invalid drawable error in console after starting Fir…
Browse files Browse the repository at this point in the history
…efox. r=mattwoodrow
  • Loading branch information
bgirard committed Jan 28, 2013
1 parent f56b1cd commit 46b102e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gfx/gl/GLContextProviderCGL.mm
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,6 @@ void FinishedSurfaceUpload()
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,
Expand Down

0 comments on commit 46b102e

Please sign in to comment.