diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebContextUserMessageCoders.h')
| -rw-r--r-- | Source/WebKit2/UIProcess/WebContextUserMessageCoders.h | 8 |
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: |
