Bug 1290337 - Part 16: Replace Value parameter to const Value& in dom. r=smaug
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user