Title: [158892] trunk/Source/WebKit2
Revision
158892
Author
[email protected]
Date
2013-11-07 18:22:40 -0800 (Thu, 07 Nov 2013)

Log Message

Move m_destinationID to MessageDecoder
https://bugs.webkit.org/show_bug.cgi?id=124026

Reviewed by Andreas Kling.

* Platform/CoreIPC/ArgumentDecoder.h:
* Platform/CoreIPC/MessageDecoder.h:
(CoreIPC::MessageDecoder::destinationID):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (158891 => 158892)


--- trunk/Source/WebKit2/ChangeLog	2013-11-08 01:55:49 UTC (rev 158891)
+++ trunk/Source/WebKit2/ChangeLog	2013-11-08 02:22:40 UTC (rev 158892)
@@ -1,5 +1,16 @@
 2013-11-07  Anders Carlsson  <[email protected]>
 
+        Move m_destinationID to MessageDecoder
+        https://bugs.webkit.org/show_bug.cgi?id=124026
+
+        Reviewed by Andreas Kling.
+
+        * Platform/CoreIPC/ArgumentDecoder.h:
+        * Platform/CoreIPC/MessageDecoder.h:
+        (CoreIPC::MessageDecoder::destinationID):
+
+2013-11-07  Anders Carlsson  <[email protected]>
+
         Get rid of the out-of-line memory attachment type
         https://bugs.webkit.org/show_bug.cgi?id=124023
 

Modified: trunk/Source/WebKit2/Platform/CoreIPC/ArgumentDecoder.h (158891 => 158892)


--- trunk/Source/WebKit2/Platform/CoreIPC/ArgumentDecoder.h	2013-11-08 01:55:49 UTC (rev 158891)
+++ trunk/Source/WebKit2/Platform/CoreIPC/ArgumentDecoder.h	2013-11-08 02:22:40 UTC (rev 158892)
@@ -39,7 +39,6 @@
     ArgumentDecoder(const uint8_t* buffer, size_t bufferSize);
     virtual ~ArgumentDecoder();
 
-    uint64_t destinationID() const { return m_destinationID; }
     size_t length() const { return m_bufferEnd - m_buffer; }
 
     bool isInvalid() const { return m_bufferPos > m_bufferEnd; }
@@ -99,10 +98,6 @@
     bool alignBufferPosition(unsigned alignment, size_t size);
     bool bufferIsLargeEnoughToContain(unsigned alignment, size_t size) const;
 
-// FIXME: Move m_destinationID to MessageDecoder.
-protected:
-    uint64_t m_destinationID;
-
 private:
     uint8_t* m_allocatedBase;
     uint8_t* m_buffer;

Modified: trunk/Source/WebKit2/Platform/CoreIPC/MessageDecoder.h (158891 => 158892)


--- trunk/Source/WebKit2/Platform/CoreIPC/MessageDecoder.h	2013-11-08 01:55:49 UTC (rev 158891)
+++ trunk/Source/WebKit2/Platform/CoreIPC/MessageDecoder.h	2013-11-08 02:22:40 UTC (rev 158892)
@@ -41,6 +41,7 @@
 
     StringReference messageReceiverName() const { return m_messageReceiverName; }
     StringReference messageName() const { return m_messageName; }
+    uint64_t destinationID() const { return m_destinationID; }
 
     bool isSyncMessage() const;
     bool shouldDispatchMessageWhenWaitingForSyncReply() const;
@@ -54,6 +55,8 @@
     StringReference m_messageReceiverName;
     StringReference m_messageName;
 
+    uint64_t m_destinationID;
+
 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
     std::unique_ptr<ImportanceAssertion> m_importanceAssertion;
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to