Changeset 128038 in webkit


Ignore:
Timestamp:
Sep 10, 2012 3:28:08 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] WK2 build fixes for MSVC
https://bugs.webkit.org/show_bug.cgi?id=96248

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-10
Reviewed by Tor Arne Vestbø.

MSVC is picky when it comes to the use of forward declaration and the use of
such forward declared types in templates. In these instances inline functions were
passed parameters in RefPtrs that were only forward declared, but at compile time
MSVC wants to know what type it is in order to completely instantiate RefPtr (which
needs to call the type destructor for example). Therefore this patch resolves a couple
of forward declarations with direct header file inclusions.

  • UIProcess/API/qt/raw/qrawwebview_p_p.h:
  • UIProcess/InspectorServer/WebSocketServerClient.h:
  • UIProcess/qt/QtPageClient.h:
Location:
trunk/Source/WebKit2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r128035 r128038  
     12012-09-10  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        [Qt] WK2 build fixes for MSVC
     4        https://bugs.webkit.org/show_bug.cgi?id=96248
     5
     6        Reviewed by Tor Arne Vestbø.
     7
     8        MSVC is picky when it comes to the use of forward declaration and the use of
     9        such forward declared types in templates. In these instances inline functions were
     10        passed parameters in RefPtrs that were only forward declared, but at compile time
     11        MSVC wants to know what type it is in order to completely instantiate RefPtr (which
     12        needs to call the type destructor for example). Therefore this patch resolves a couple
     13        of forward declarations with direct header file inclusions.
     14
     15        * UIProcess/API/qt/raw/qrawwebview_p_p.h:
     16        * UIProcess/InspectorServer/WebSocketServerClient.h:
     17        * UIProcess/qt/QtPageClient.h:
     18
    1192012-09-10  Andras Becsi  <andras.becsi@nokia.com>
    220
  • trunk/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview_p_p.h

    r127988 r128038  
    2626#define qrawwebview_p_p_h
    2727
     28#include "FindIndicator.h"
    2829#include "PageClient.h"
    2930#include "WebContextMenuProxy.h"
     31#include "WebEditCommandProxy.h"
    3032#include "WebPopupMenuProxy.h"
    3133#include "qrawwebview_p.h"
  • trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServerClient.h

    r113026 r128038  
    2929#if ENABLE(INSPECTOR_SERVER)
    3030
     31#include <WebCore/HTTPRequest.h>
    3132#include <wtf/PassRefPtr.h>
    3233#include <wtf/text/WTFString.h>
    33 
    34 namespace WebCore {
    35 class HTTPRequest;
    36 }
    3734
    3835namespace WebKit {
  • trunk/Source/WebKit2/UIProcess/qt/QtPageClient.h

    r127988 r128038  
    2222#define QtPageClient_h
    2323
     24#include "FindIndicator.h"
    2425#include "PageClient.h"
    2526
Note: See TracChangeset for help on using the changeset viewer.