summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebContextUserMessageCoders.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-11-07 11:22:47 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-11-07 11:22:47 +0100
commitcfd86b747d32ac22246a1aa908eaa720c63a88c1 (patch)
tree24d68c6f61c464ecba1e05670b80390ea3b0e50c /Source/WebKit2/UIProcess/WebContextUserMessageCoders.h
parent69d7c744c9de19d152dbe2d8e46eb7dfd4511d1a (diff)
downloadqtwebkit-cfd86b747d32ac22246a1aa908eaa720c63a88c1.tar.gz
Imported WebKit commit 20271caf2e2c016d5cef40184cddeefeac4f1876 (http://svn.webkit.org/repository/webkit/trunk@133733)
New snapshot that contains all previous fixes as well as build fix for latest QtMultimedia API changes.
Diffstat (limited to 'Source/WebKit2/UIProcess/WebContextUserMessageCoders.h')
-rw-r--r--Source/WebKit2/UIProcess/WebContextUserMessageCoders.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit2/UIProcess/WebContextUserMessageCoders.h b/Source/WebKit2/UIProcess/WebContextUserMessageCoders.h
index ffe322811..761c4a49c 100644
--- a/Source/WebKit2/UIProcess/WebContextUserMessageCoders.h
+++ b/Source/WebKit2/UIProcess/WebContextUserMessageCoders.h
@@ -46,7 +46,7 @@ public:
{
}
- void encode(CoreIPC::ArgumentEncoder* encoder) const
+ void encode(CoreIPC::ArgumentEncoder& encoder) const
{
APIObject::Type type = APIObject::TypeNull;
if (baseEncode(encoder, type))
@@ -55,17 +55,17 @@ public:
switch (type) {
case APIObject::TypePage: {
WebPageProxy* page = static_cast<WebPageProxy*>(m_root);
- encoder->encode(page->pageID());
+ encoder << page->pageID();
break;
}
case APIObject::TypeFrame: {
WebFrameProxy* frame = static_cast<WebFrameProxy*>(m_root);
- encoder->encode(frame->frameID());
+ encoder << frame->frameID();
break;
}
case APIObject::TypePageGroup: {
WebPageGroup* pageGroup = static_cast<WebPageGroup*>(m_root);
- encoder->encode(pageGroup->data());
+ encoder << pageGroup->data();
break;
}
default: