see patch
Created attachment 62403 [details] Patch
Created attachment 62409 [details] Patch (improved version) This patch has an additional "#if !defined(NO_ALPHABLEND)" around the AlphaBlend function like in GraphicsContextWince.
Comment on attachment 62409 [details] Patch (improved version) > Pasteboard::Pasteboard() > -{ > - // make a dummy HWND to be the Windows clipboard's owner > - WNDCLASSEX wcex = {0}; > +{ > + HWND hWndParent = 0; > +#if OS(WINCE) > + WNDCLASS wcex; > + memset(&wcex, 0, sizeof(WNDCLASS)); > +#else > + WNDCLASSEX wcex; > + memset(&wcex, 0, sizeof(WNDCLASSEX)); > wcex.cbSize = sizeof(WNDCLASSEX); > +#endif > wcex.lpfnWndProc = PasteboardOwnerWndProc; > - wcex.hInstance = WebCore::instanceHandle(); > wcex.lpszClassName = L"PasteboardOwnerWindowClass"; > - ::RegisterClassEx(&wcex); > +#if OS(WINCE) > + RegisterClass(&wcex); > +#else > + RegisterClassEx(&wcex); > + hWndParent = HWND_MESSAGE; > +#endif I think we can make non-CE Windows use WNDCLASS and RegisterClass, too. I think the reduced complexity is worth it. Why was the setting of the hInstance member removed?
Created attachment 62430 [details] Patch > (From update of attachment 62409 [details]) > Why was the setting of the hInstance member removed? By accident. Added again.
Comment on attachment 62430 [details] Patch Clearing flags on attachment: 62430 Committed r63985: <http://trac.webkit.org/changeset/63985>
All reviewed patches have been landed. Closing bug.