Bug 923133 - Remove unneeded main thread GL context management in -[ChildView lockFocus]. r=mattwoodrow

--HG--
extra : rebase_source : 5098476ad30f13f2ea99e91ed0120b535ae53e78
This commit is contained in:
Markus Stange 2013-10-09 10:39:22 -04:00
parent 6719e38b4f
commit f8d71858b1
2 changed files with 0 additions and 18 deletions

View File

@ -323,7 +323,6 @@ typedef NSInteger NSEventGestureAxis;
type:(mozilla::WidgetMouseEvent::exitType)aType;
- (void)update;
- (void)lockFocus;
- (void) _surfaceNeedsUpdate:(NSNotification*)notification;
- (BOOL)isPluginView;

View File

@ -3229,23 +3229,6 @@ NSEvent* gLastDragMouseDownEvent = nil;
return [[self window] isMovableByWindowBackground];
}
- (void)lockFocus
{
NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
[super lockFocus];
if (mGLContext) {
if ([mGLContext view] != self) {
[mGLContext setView:self];
}
[mGLContext makeCurrentContext];
}
NS_OBJC_END_TRY_ABORT_BLOCK;
}
-(void)update
{
if (mGLContext) {