Fix for Blackflag Bug 614157
Gecko view window crashes if clicked too quickly after opened git-svn-id: svn://10.0.0.236/branches/ANGELON_MOZ12_BRANCH@134848 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -6675,7 +6675,7 @@ nsWindow::IMEMouseHandling(PRUint32 aEventType, PRInt32 aAction, LPARAM lParam)
|
||||
HWND parentWnd = ::GetParent(mWnd);
|
||||
if (parentWnd) {
|
||||
nsWindow* parentWidget = GetNSWindowPtr(parentWnd);
|
||||
if (parentWidget->mIMEIsComposing && nsWindow::uWM_MSIME_MOUSE) {
|
||||
if (parentWidget && parentWidget->mIMEIsComposing && nsWindow::uWM_MSIME_MOUSE) {
|
||||
if (parentWidget->IMECompositionHitTest(aEventType, &ptPos))
|
||||
if (parentWidget->HandleMouseActionOfIME(aAction, &ptPos))
|
||||
return PR_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user