зеркало из https://github.com/mozilla/gecko-dev.git
91957254d0
Since NoFocusState is am empty struct used in the |mData| variant in FocusTarget, we need to add a Reader and a Writer for IPC for NoFocusState so we can properly read and write the |mData| variant. The NoFocusState Read and Write methods do not read or write anything, since NoFocusState does not contain any data. This is done by creating a helper class EmptyStructSerliazer and inheritting from EmptyStructSerializer for the NoFocusState specialization. The |Read| and |Write| methods for FocusTarget are updated by removing the read and write code for the individual types of |mData| and instead makes use of the IPC read and write methods for Variant. MozReview-Commit-ID: 3159sp6FLek --HG-- extra : rebase_source : ff82797c26abffbd8bbcc465dc40c621be3257d0 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
dbus | ||
glue | ||
ipdl | ||
mscom | ||
ril | ||
testshell | ||
moz.build | ||
pull-chromium.py |