mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
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
@ -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 New Issue
Block a user