Checkpoint for mac os x reactivation.
Having trouble with the implementation of getHandleToPeer. Current problem is that JAWT_DrawingSurface->Lock() is failing. Why would that be? git-svn-id: svn://10.0.0.236/trunk@173357 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -140,14 +140,16 @@ NativeBrowserControl::Realize(jobject javaBrowserControl,
|
||||
mSessionHistory = do_CreateInstance(NS_SHISTORY_CONTRACTID);
|
||||
mNavigation->SetSessionHistory(mSessionHistory);
|
||||
|
||||
#ifdef XP_UNIX
|
||||
#if defined(XP_UNIX) && !defined(XP_MACOSX)
|
||||
PR_ASSERT(PR_FALSE);
|
||||
GtkWidget *ownerAsWidget (GTK_WIDGET(parentWinPtr));
|
||||
parentHWnd = ownerAsWidget;
|
||||
width = ownerAsWidget->allocation.width;
|
||||
height = ownerAsWidget->allocation.height;
|
||||
#else
|
||||
#elif !defined(XP_MACOSX)
|
||||
parentHWnd = (HWND) parentWinPtr;
|
||||
#else
|
||||
parentHWnd = parentWinPtr;
|
||||
#endif
|
||||
|
||||
// create the window
|
||||
|
||||
Reference in New Issue
Block a user