Add another 64-bit ifdef to nsChildView.mm. b=513777 r=smichaud

This commit is contained in:
Josh Aas 2009-09-08 17:25:55 -04:00
Родитель b83c68cda9
Коммит 1aed3d0a15
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -2612,10 +2612,13 @@ NSEvent* gLastDragEvent = nil;
{
NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
#ifndef NP_NO_QUICKDRAW
// Set the current GrafPort to a "safe" port before calling [NSQuickDrawView lockFocus],
// so that the NSQuickDrawView stashes a pointer to this known-good port internally.
// It will set the port back to this port on destruction.
::SetPort(NULL); // todo: only do if a Quickdraw plugin is present in the hierarchy!
#endif
[super lockFocus];
NS_OBJC_END_TRY_ABORT_BLOCK;