Copy PP_Vars in ppapi test PluginVectorReceiveInput so we can test their refcount.

Previously when |SerializedVarVectorReceiveInput| objects went out of scope,
their associated arrays were destroyed which led to use-after-frees when
testing refcounts. This corrects the problem by making a copy of the array.

BUG=152298
TEST=valgrinded the test


Review URL: https://chromiumcodereview.appspot.com/11040051

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160545 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed