Changeset 141495 in webkit


Ignore:
Timestamp:
Jan 31, 2013 3:26:01 PM (11 years ago)
Author:
rafael.lobo@openbossa.org
Message:

[Qt][WK2] Fix build after removal of MessageID.h
https://bugs.webkit.org/show_bug.cgi?id=108534

Reviewed by Anders Carlsson.

  • Platform/CoreIPC/unix/ConnectionUnix.cpp:

(CoreIPC::MessageInfo::MessageInfo):
(CoreIPC::MessageInfo::setMessageBodyIsOutOfLine):
(CoreIPC::MessageInfo::isMessageBodyIsOutOfLine):
(MessageInfo):
(CoreIPC::Connection::processMessage):
(CoreIPC::Connection::sendOutgoingMessage):

  • Target.pri:
  • UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
  • UIProcess/DrawingAreaProxy.cpp:
  • WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
  • WebProcess/soup/WebSoupRequestManager.cpp:
Location:
trunk/Source/WebKit2
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r141493 r141495  
     12013-01-31  Rafael Brandao  <rafael.lobo@openbossa.org>
     2
     3        [Qt][WK2] Fix build after removal of MessageID.h
     4        https://bugs.webkit.org/show_bug.cgi?id=108534
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * Platform/CoreIPC/unix/ConnectionUnix.cpp:
     9        (CoreIPC::MessageInfo::MessageInfo):
     10        (CoreIPC::MessageInfo::setMessageBodyIsOutOfLine):
     11        (CoreIPC::MessageInfo::isMessageBodyIsOutOfLine):
     12        (MessageInfo):
     13        (CoreIPC::Connection::processMessage):
     14        (CoreIPC::Connection::sendOutgoingMessage):
     15        * Target.pri:
     16        * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
     17        * UIProcess/DrawingAreaProxy.cpp:
     18        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
     19        * WebProcess/soup/WebSoupRequestManager.cpp:
     20
    1212013-01-31  Brady Eidson  <beidson@apple.com>
    222
  • trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp

    r141203 r141495  
    5959    MessageInfo() { }
    6060
    61     MessageInfo(MessageID, size_t bodySize, size_t initialAttachmentCount)
    62         : m_messageID(0)
    63         , m_bodySize(bodySize)
     61    MessageInfo(size_t bodySize, size_t initialAttachmentCount)
     62        : m_bodySize(bodySize)
    6463        , m_attachmentCount(initialAttachmentCount)
    65     {
    66         ASSERT(!(m_messageID & MessageBodyIsOutOfLine));
     64        , m_isMessageBodyOutOfLine(false)
     65    {
    6766    }
    6867
     
    7170        ASSERT(!isMessageBodyIsOutOfLine());
    7271
    73         m_messageID |= MessageBodyIsOutOfLine;
     72        m_isMessageBodyOutOfLine = true;
    7473        m_attachmentCount++;
    7574    }
    7675
    77     bool isMessageBodyIsOutOfLine() const { return m_messageID & MessageBodyIsOutOfLine; }
     76    bool isMessageBodyIsOutOfLine() const { return m_isMessageBodyOutOfLine; }
    7877
    7978    size_t bodySize() const { return m_bodySize; }
     
    8281
    8382private:
    84     uint32_t m_messageID;
    8583    size_t m_bodySize;
    8684    size_t m_attachmentCount;
     85    bool m_isMessageBodyOutOfLine;
    8786};
    8887
     
    287286        decoder = MessageDecoder::create(DataReference(messageBody, messageInfo.bodySize()), attachments);
    288287
    289     processIncomingMessage(MessageID(), decoder.release());
     288    processIncomingMessage(decoder.release());
    290289
    291290    if (m_readBufferSize > messageLength) {
     
    440439}
    441440
    442 bool Connection::sendOutgoingMessage(MessageID messageID, PassOwnPtr<MessageEncoder> encoder)
     441bool Connection::sendOutgoingMessage(PassOwnPtr<MessageEncoder> encoder)
    443442{
    444443#if PLATFORM(QT)
     
    456455    }
    457456
    458     MessageInfo messageInfo(messageID, encoder->bufferSize(), attachments.size());
     457    MessageInfo messageInfo(encoder->bufferSize(), attachments.size());
    459458    size_t messageSizeWithBodyInline = sizeof(messageInfo) + (attachments.size() * sizeof(AttachmentInfo)) + encoder->bufferSize();
    460459    if (messageSizeWithBodyInline > messageMaxSize && encoder->bufferSize()) {
  • trunk/Source/WebKit2/Target.pri

    r141455 r141495  
    2727    Platform/CoreIPC/MessageDecoder.h \
    2828    Platform/CoreIPC/MessageEncoder.h \
    29     Platform/CoreIPC/MessageID.h \
    3029    Platform/CoreIPC/MessageReceiver.h \
    3130    Platform/CoreIPC/MessageReceiverMap.h \
  • trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp

    r141376 r141495  
    2727#include "CoordinatedBackingStore.h"
    2828#include "GraphicsLayerTextureMapper.h"
    29 #include "MessageID.h"
    3029#include "TextureMapper.h"
    3130#include "TextureMapperBackingStore.h"
  • trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.cpp

    r141361 r141495  
    3131#if USE(COORDINATED_GRAPHICS)
    3232#include "CoordinatedLayerTreeHostProxy.h"
    33 #include <CoreIPC/MessageID.h>
    3433#endif
    3534
  • trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp

    r141412 r141495  
    3636#include "DrawingAreaImpl.h"
    3737#include "GraphicsContext.h"
    38 #include "MessageID.h"
    3938#include "SurfaceUpdateInfo.h"
    4039#include "WebCoordinatedSurface.h"
  • trunk/Source/WebKit2/WebProcess/soup/WebSoupRequestManager.cpp

    r140656 r141495  
    2222
    2323#include "DataReference.h"
    24 #include "MessageID.h"
    2524#include "WebErrors.h"
    2625#include "WebKitSoupRequestGeneric.h"
Note: See TracChangeset for help on using the changeset viewer.