[Webkit-unassigned] [Bug 122549] New: [Win] BeginPaint should only be called in response to WM_PAINT.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 9 06:18:13 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=122549

           Summary: [Win] BeginPaint should only be called in response to
                    WM_PAINT.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: peavo at outlook.com


According to the documentation (http://msdn.microsoft.com/en-us/library/windows/desktop/dd183362(v=vs.85).aspx), the Win32 api functions BeginPaint and EndPaint should only be called in response to a WM_PAINT message. Currently, the WebView window procedure might call these functions (via WebView::paint(0, 0)) for all types of messages. Also, there is potential double drawing. If some message is dispatched before WM_PAINT, WebView::paint(0, 0) will be called. This call does not validate the area drawn, so later the WM_PAINT will arrive, drawing the same area.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list