diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-18 10:55:06 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-18 10:55:06 +0200 |
commit | ee4c86d1990a9e26277a6948e7027ad8d525ebfa (patch) | |
tree | 1e2d3408cd097606571f40ab63353c27bcb7dd5c /Source/WebKit2/Scripts/webkit2/messages.py | |
parent | d882bec96d0d30aeeda2141bfadfca7f038ee862 (diff) | |
download | qtwebkit-ee4c86d1990a9e26277a6948e7027ad8d525ebfa.tar.gz |
Imported WebKit commit 795dcd25a9649fccaf1c9b685f6e2ffedaf7e620 (http://svn.webkit.org/repository/webkit/trunk@131718)
New snapshot that includes the return of -fkeep-memory at link time
to reduce memory pressure as well as modularized documentation
Diffstat (limited to 'Source/WebKit2/Scripts/webkit2/messages.py')
-rw-r--r-- | Source/WebKit2/Scripts/webkit2/messages.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit2/Scripts/webkit2/messages.py b/Source/WebKit2/Scripts/webkit2/messages.py index c8a0ab92a..56d97bc81 100644 --- a/Source/WebKit2/Scripts/webkit2/messages.py +++ b/Source/WebKit2/Scripts/webkit2/messages.py @@ -224,13 +224,14 @@ def forward_declarations_and_headers(receiver): headers = set([ '"Arguments.h"', + '"MessageEncoder.h"', '"MessageID.h"', ]) for message in receiver.messages: if message.reply_parameters != None and message.has_attribute(DELAYED_ATTRIBUTE): headers.add('<wtf/ThreadSafeRefCounted.h>') - types_by_namespace['CoreIPC'].update(['ArgumentEncoder', 'Connection']) + types_by_namespace['CoreIPC'].update(['Connection']) for parameter in receiver.iterparameters(): type = parameter.type @@ -502,7 +503,7 @@ def generate_message_handler(file): result.append('{\n') result.append(' ASSERT(m_arguments);\n') result += [' m_arguments->encode(%s);\n' % x.name for x in message.reply_parameters] - result.append(' bool result = m_connection->sendSyncReply(m_arguments.release());\n') + result.append(' bool result = m_connection->sendSyncReply(static_pointer_cast<CoreIPC::MessageEncoder>(m_arguments.release()));\n') result.append(' m_connection = nullptr;\n') result.append(' return result;\n') result.append('}\n') |