forked from mirrors/gecko-dev
Bug 535295 - [OOPP] Tearing/Repainting issues with flash videos, their controls and other page content during/after scrolling. r=roc.
This commit is contained in:
parent
df44d473a8
commit
9266af2928
1 changed files with 7 additions and 2 deletions
|
|
@ -1493,8 +1493,13 @@ PluginInstanceChild::AnswerUpdateWindow()
|
|||
PR_LOG(gPluginLog, PR_LOG_DEBUG, ("%s", FULLFUNCTION));
|
||||
|
||||
#if defined(OS_WIN)
|
||||
if (mPluginWindowHWND)
|
||||
UpdateWindow(mPluginWindowHWND);
|
||||
if (mPluginWindowHWND) {
|
||||
RECT rect;
|
||||
if (GetUpdateRect(GetParent(mPluginWindowHWND), &rect, FALSE)) {
|
||||
::InvalidateRect(mPluginWindowHWND, &rect, FALSE);
|
||||
}
|
||||
UpdateWindow(mPluginWindowHWND);
|
||||
}
|
||||
return true;
|
||||
#else
|
||||
NS_NOTREACHED("PluginInstanceChild::AnswerUpdateWindow not implemented!");
|
||||
|
|
|
|||
Loading…
Reference in a new issue