From 89e2486a48b739f8d771d69ede5a6a1b244a10fc Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 30 Jul 2012 11:37:48 +0200 Subject: Imported WebKit commit 0282df8ca7c11d8c8a66ea18543695c69f545a27 (http://svn.webkit.org/repository/webkit/trunk@124002) New snapshot with prospective Mountain Lion build fix --- Source/WebKit2/Shared/IntentData.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Source/WebKit2/Shared/IntentData.cpp') diff --git a/Source/WebKit2/Shared/IntentData.cpp b/Source/WebKit2/Shared/IntentData.cpp index 388a3a567..4995b2ef5 100644 --- a/Source/WebKit2/Shared/IntentData.cpp +++ b/Source/WebKit2/Shared/IntentData.cpp @@ -31,11 +31,22 @@ #include "APIObject.h" #include "DataReference.h" #include "WebCoreArgumentCoders.h" +#include using namespace WebCore; namespace WebKit { +IntentData::IntentData(Intent* coreIntent) + : action(coreIntent->action()) + , type(coreIntent->type()) + , service(coreIntent->service()) + , data(coreIntent->data()->data()) + , extras(coreIntent->extras()) + , suggestions(coreIntent->suggestions()) +{ +} + void IntentData::encode(CoreIPC::ArgumentEncoder* encoder) const { encoder->encode(action); -- cgit v1.2.1