Bug 1290337 - Part 16: Replace Value parameter to const Value& in dom. r=smaug

This commit is contained in:
Tooru Fujisawa
2016-09-11 18:15:24 +09:00
parent ba8b6965af
commit 11c4b51a67
6 changed files with 6 additions and 6 deletions

View File

@@ -112,7 +112,7 @@ DoDrawImageSecurityCheck(dom::HTMLCanvasElement *aCanvasElement,
}
bool
CoerceDouble(JS::Value v, double* d)
CoerceDouble(const JS::Value& v, double* d)
{
if (v.isDouble()) {
*d = v.toDouble();