-
hausmann@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=95934 Reviewed by Kenneth Rohde Christiansen. Source/WebKit2: * Shared/LayerTreeContext.h: Include stdint.h due to the use of uint32_t as layer id. * UIProcess/API/qt/qquickwebview_p.h: (WebKit): Fix struct vs. class forward declaration mismatch, causing linking errors. * UIProcess/API/qt/tests/bytearraytestdata.h: Remove export macro from internal test class that is not used anymore. Using the export macro from a DLL when the code in question is not part of the DLL results in the export macro expanding to dllimport, giving incorrect linkage for the unit test. * WebProcess/qt/WebProcessMainQt.cpp: (WebKit::WebProcessMainQt): Removed explicit call to srandom(), which is not available on Windows. The call appears to be unnecessary in the light of the WTF::initializeThreading() call below, which in turn calls WTF::initializeRandomNumberGenerator(), which does the same thing already (and isn't needed on Windows, as per comment in wtf/RandomNumberSeed.h) Source/WTF: For the Qt build on Windows, do not enable WTF_USE_UNIX_DOMAIN_SOCKETS for WebKit2 IPC. * wtf/Platform.h: Tools: setFocus takes a boolean as argument: Don't try to implicitly convert an enum to a boolean, MSVC doesn't like that. The intent here is to enable focus, so just pass true. * WebKitTestRunner/qt/PlatformWebViewQt.cpp: (WTR::PlatformWebView::focus): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
cd603beb