Commit 69d3a619 authored by Yuki Shiino's avatar Yuki Shiino Committed by Commit Bot

bindings: Add missing 'const' to DOMMatrixReadOnly::Create

Bug: 839389
Change-Id: I3c5406b19457ba5427cae24785fbae0a3c161d02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037278Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#738159}
parent aa249ef6
......@@ -108,7 +108,7 @@ DOMMatrixReadOnly* DOMMatrixReadOnly::Create(
DOMMatrixReadOnly* DOMMatrixReadOnly::Create(
ExecutionContext* execution_context,
StringOrUnrestrictedDoubleSequence& init,
const StringOrUnrestrictedDoubleSequence& init,
ExceptionState& exception_state) {
if (init.IsString()) {
if (!execution_context->IsDocument()) {
......
......@@ -30,7 +30,7 @@ class CORE_EXPORT DOMMatrixReadOnly : public ScriptWrappable {
public:
static DOMMatrixReadOnly* Create(ExecutionContext*, ExceptionState&);
static DOMMatrixReadOnly* Create(ExecutionContext*,
StringOrUnrestrictedDoubleSequence&,
const StringOrUnrestrictedDoubleSequence&,
ExceptionState&);
static DOMMatrixReadOnly* fromFloat32Array(NotShared<DOMFloat32Array>,
ExceptionState&);
......
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