Changeset 141495 in webkit
- Timestamp:
- Jan 31, 2013 3:26:01 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r141493 r141495 1 2013-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 1 21 2013-01-31 Brady Eidson <beidson@apple.com> 2 22 -
trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp
r141203 r141495 59 59 MessageInfo() { } 60 60 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) 64 63 , m_attachmentCount(initialAttachmentCount) 65 {66 ASSERT(!(m_messageID & MessageBodyIsOutOfLine));64 , m_isMessageBodyOutOfLine(false) 65 { 67 66 } 68 67 … … 71 70 ASSERT(!isMessageBodyIsOutOfLine()); 72 71 73 m_ messageID |= MessageBodyIsOutOfLine;72 m_isMessageBodyOutOfLine = true; 74 73 m_attachmentCount++; 75 74 } 76 75 77 bool isMessageBodyIsOutOfLine() const { return m_ messageID & MessageBodyIsOutOfLine; }76 bool isMessageBodyIsOutOfLine() const { return m_isMessageBodyOutOfLine; } 78 77 79 78 size_t bodySize() const { return m_bodySize; } … … 82 81 83 82 private: 84 uint32_t m_messageID;85 83 size_t m_bodySize; 86 84 size_t m_attachmentCount; 85 bool m_isMessageBodyOutOfLine; 87 86 }; 88 87 … … 287 286 decoder = MessageDecoder::create(DataReference(messageBody, messageInfo.bodySize()), attachments); 288 287 289 processIncomingMessage( MessageID(),decoder.release());288 processIncomingMessage(decoder.release()); 290 289 291 290 if (m_readBufferSize > messageLength) { … … 440 439 } 441 440 442 bool Connection::sendOutgoingMessage( MessageID messageID,PassOwnPtr<MessageEncoder> encoder)441 bool Connection::sendOutgoingMessage(PassOwnPtr<MessageEncoder> encoder) 443 442 { 444 443 #if PLATFORM(QT) … … 456 455 } 457 456 458 MessageInfo messageInfo( messageID,encoder->bufferSize(), attachments.size());457 MessageInfo messageInfo(encoder->bufferSize(), attachments.size()); 459 458 size_t messageSizeWithBodyInline = sizeof(messageInfo) + (attachments.size() * sizeof(AttachmentInfo)) + encoder->bufferSize(); 460 459 if (messageSizeWithBodyInline > messageMaxSize && encoder->bufferSize()) { -
trunk/Source/WebKit2/Target.pri
r141455 r141495 27 27 Platform/CoreIPC/MessageDecoder.h \ 28 28 Platform/CoreIPC/MessageEncoder.h \ 29 Platform/CoreIPC/MessageID.h \30 29 Platform/CoreIPC/MessageReceiver.h \ 31 30 Platform/CoreIPC/MessageReceiverMap.h \ -
trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp
r141376 r141495 27 27 #include "CoordinatedBackingStore.h" 28 28 #include "GraphicsLayerTextureMapper.h" 29 #include "MessageID.h"30 29 #include "TextureMapper.h" 31 30 #include "TextureMapperBackingStore.h" -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.cpp
r141361 r141495 31 31 #if USE(COORDINATED_GRAPHICS) 32 32 #include "CoordinatedLayerTreeHostProxy.h" 33 #include <CoreIPC/MessageID.h>34 33 #endif 35 34 -
trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp
r141412 r141495 36 36 #include "DrawingAreaImpl.h" 37 37 #include "GraphicsContext.h" 38 #include "MessageID.h"39 38 #include "SurfaceUpdateInfo.h" 40 39 #include "WebCoordinatedSurface.h" -
trunk/Source/WebKit2/WebProcess/soup/WebSoupRequestManager.cpp
r140656 r141495 22 22 23 23 #include "DataReference.h" 24 #include "MessageID.h"25 24 #include "WebErrors.h" 26 25 #include "WebKitSoupRequestGeneric.h"
Note: See TracChangeset
for help on using the changeset viewer.