Changeset 121686 in webkit
- Timestamp:
- Jul 2, 2012 9:31:10 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r121682 r121686 1 2012-07-02 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt] Fix WebProcess crash on Mac when accessing a site with video tag. 4 https://bugs.webkit.org/show_bug.cgi?id=90384 5 6 Reviewed by Jocelyn Turcotte. 7 8 We need to initialize the private symbols used by MediaPlayerPrivateQTKit 9 otherwise they will be null and it will lead to a crash. We copy WebSystemInterface 10 files for WK2 just like the Mac port as WK2 may have different needs than WK1 layer (we 11 may add or remove symbols in here). It doesn't fix the video rendering yet but it's 12 first step. 13 14 * Target.pri: 15 * WebProcess/WebCoreSupport/qt/WebSystemInterface.h: Added. 16 * WebProcess/WebCoreSupport/qt/WebSystemInterface.mm: Added. 17 (InitWebCoreSystemInterfaceForWK2): 18 * WebProcess/qt/WebProcessMainQt.cpp: 19 (WebKit::WebProcessMainQt): 20 1 21 2012-07-02 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 22 -
trunk/Source/WebKit2/Target.pri
r121620 r121686 772 772 773 773 mac: { 774 775 contains(DEFINES, WTF_USE_QTKIT=1) { 776 DEFINES += NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES 777 INCLUDEPATH += \ 778 $$PWD/../../WebKitLibraries/ 779 HEADERS += \ 780 WebProcess/WebCoreSupport/qt/WebSystemInterface.h 781 SOURCES += \ 782 WebProcess/WebCoreSupport/qt/WebSystemInterface.mm 783 } 774 784 INCLUDEPATH += \ 775 785 Platform/mac \ -
trunk/Source/WebKit2/WebProcess/qt/WebProcessMainQt.cpp
r115958 r121686 40 40 #if USE(ACCELERATED_COMPOSITING) 41 41 #include "WebGraphicsLayer.h" 42 #endif 43 #if USE(QTKIT) 44 #include "WebSystemInterface.h" 42 45 #endif 43 46 … … 149 152 WTF::initializeMainThread(); 150 153 RunLoop::initializeMainRunLoop(); 154 155 #if USE(QTKIT) 156 InitWebCoreSystemInterfaceForWK2(); 157 #endif 151 158 152 159 // Create the connection.
Note: See TracChangeset
for help on using the changeset viewer.