Bug 161016

Summary: Merge MessageEncoder and ArgumentEncoder into Encoder
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Anders Carlsson
Reported 2016-08-19 15:09:33 PDT
Merge MessageEncoder and ArgumentEncoder into Encoder
Attachments
Patch (334.55 KB, patch)
2016-08-19 15:19 PDT, Anders Carlsson
thorton: review+
Anders Carlsson
Comment 1 2016-08-19 15:19:48 PDT
Tim Horton
Comment 2 2016-08-19 15:27:12 PDT
Comment on attachment 286490 [details] Patch rs=me
Darin Adler
Comment 3 2016-08-19 15:28:53 PDT
Comment on attachment 286490 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=286490&action=review Change log isn’t so great. Diff doesn’t show the changes to Encoder.h/cpp, annoying since our Subversion patch shows those even when combined with a rename. More of the touched header files should get the #pragma once treatment. > Source/WebKit2/Platform/IPC/MessageReceiver.h:35 > -class MessageDecoder; > -class MessageEncoder; > +class Encoder; > class Connection; > +class MessageDecoder; Strange to re-sort this, but put Encoder before Connection! > Source/WebKit2/Scripts/webkit/messages.py:122 > + result.append(' DelayedReply(PassRefPtr<IPC::Connection>, std::unique_ptr<IPC::Encoder>);\n') Irritating that this is still using PassRefPtr.
Anders Carlsson
Comment 4 2016-08-19 15:53:40 PDT
(In reply to comment #3) > Comment on attachment 286490 [details] > Patch > > More of the touched header files should get the #pragma once treatment. > Was planning on fix all those in one patch sometime in the future. > > Source/WebKit2/Platform/IPC/MessageReceiver.h:35 > > -class MessageDecoder; > > -class MessageEncoder; > > +class Encoder; > > class Connection; > > +class MessageDecoder; > > Strange to re-sort this, but put Encoder before Connection! > > > Source/WebKit2/Scripts/webkit/messages.py:122 > > + result.append(' DelayedReply(PassRefPtr<IPC::Connection>, std::unique_ptr<IPC::Encoder>);\n') > > Irritating that this is still using PassRefPtr. Yes.
Anders Carlsson
Comment 5 2016-08-19 15:55:00 PDT
Note You need to log in before you can comment on or make changes to this bug.