Use a Transformer for UserData as well, to avoid always copying arrays and dictionaries
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Dec 2014 16:52:54 +0000 (16:52 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Dec 2014 16:52:54 +0000 (16:52 +0000)
commit58c98d9b73a434e035cba207ee9e444630154807
treeb518c03d837099828b0718d18a614ca4ee294724
parente18e15bd3008b7e8832c6f940aa6ad8588b8e783
Use a Transformer for UserData as well, to avoid always copying arrays and dictionaries
https://bugs.webkit.org/show_bug.cgi?id=139896

Reviewed by Darin Adler.

* Shared/UserData.cpp:
(WebKit::shouldTransform):
(WebKit::UserData::transform):
* Shared/UserData.h:
(WebKit::UserData::Transformer::~Transformer):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::apiObjectByConvertingToHandles):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::apiObjectByConvertingFromHandles):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/UserData.cpp
Source/WebKit2/Shared/UserData.h
Source/WebKit2/UIProcess/WebProcessProxy.cpp
Source/WebKit2/WebProcess/WebProcess.cpp