Commit ac0514f3 authored by tasak@google.com's avatar tasak@google.com

Should provide creation context and isolate for WebDOMError::toV8Value.

BUG=369451

Review URL: https://codereview.chromium.org/311053007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275396 0039d316-1c4b-4281-b951-d872f2087c98
parent d01f368a
......@@ -149,7 +149,8 @@ void FileSystemNatives::GetDOMError(
blink::WebDOMError dom_error = blink::WebDOMError::create(
blink::WebString::fromUTF8(name), blink::WebString::fromUTF8(message));
args.GetReturnValue().Set(dom_error.toV8Value());
args.GetReturnValue().Set(
dom_error.toV8Value(args.Holder(), args.GetIsolate()));
}
} // namespace extensions
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment