RESOLVED FIXED 161320
Move some structs into Connection.cpp
https://bugs.webkit.org/show_bug.cgi?id=161320
Summary Move some structs into Connection.cpp
Anders Carlsson
Reported 2016-08-29 11:40:28 PDT
Move some structs into Connection.cpp
Attachments
Patch (4.02 KB, patch)
2016-08-29 11:41 PDT, Anders Carlsson
darin: review+
Anders Carlsson
Comment 1 2016-08-29 11:41:07 PDT
Darin Adler
Comment 2 2016-08-29 11:42:32 PDT
Comment on attachment 287293 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=287293&action=review > Source/WebKit2/Platform/IPC/Connection.cpp:189 > + uint64_t syncRequestID; Could we initialize this to 0 here? > Source/WebKit2/Platform/IPC/Connection.cpp:196 > + bool didReceiveReply; Could we initialize this to false here? > Source/WebKit2/Platform/IPC/Connection.cpp:202 > + PendingSyncReply() > + : syncRequestID(0) > + , didReceiveReply(false) > + { > + } Would be nice if this was just "= default". > Source/WebKit2/Platform/IPC/Connection.cpp:206 > + , didReceiveReply(0) This says 0 but should say false, but instead could be omitted.
Anders Carlsson
Comment 3 2016-08-29 11:47:33 PDT
(In reply to comment #2) > Comment on attachment 287293 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=287293&action=review > > > Source/WebKit2/Platform/IPC/Connection.cpp:189 > > + uint64_t syncRequestID; > > Could we initialize this to 0 here? > > > Source/WebKit2/Platform/IPC/Connection.cpp:196 > > + bool didReceiveReply; > > Could we initialize this to false here? > > > Source/WebKit2/Platform/IPC/Connection.cpp:202 > > + PendingSyncReply() > > + : syncRequestID(0) > > + , didReceiveReply(false) > > + { > > + } > > Would be nice if this was just "= default". Fixed all of these, thanks! > > > Source/WebKit2/Platform/IPC/Connection.cpp:206 > > + , didReceiveReply(0) > > This says 0 but should say false, but instead could be omitted.
Anders Carlsson
Comment 4 2016-08-29 11:47:53 PDT
Note You need to log in before you can comment on or make changes to this bug.