Fix SvgHandler::getScriptParams to not give warnings.

Change-Id: I664e4667bdcff89c1c5ee01a11b723a36212a57f
Merge "Fix SvgHandler::getScriptParams to not give warnings."