WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
179096
transferFromImageBitmap should update canvas dimensions
https://bugs.webkit.org/show_bug.cgi?id=179096
Summary
transferFromImageBitmap should update canvas dimensions
Dean Jackson
Reported
2017-10-31 17:55:19 PDT
When transferFromImageBitmap is called, the dimensions of the HTMLCanvasElement should be updated.
Attachments
Patch
(4.18 KB, patch)
2017-10-31 17:59 PDT
,
Dean Jackson
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-10-31 17:55:54 PDT
<
rdar://problem/35285218
>
Dean Jackson
Comment 2
2017-10-31 17:59:25 PDT
Created
attachment 325530
[details]
Patch
Sam Weinig
Comment 3
2017-10-31 19:06:02 PDT
Comment on
attachment 325530
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=325530&action=review
> Source/WebCore/html/HTMLCanvasElement.cpp:982 > m_imageBuffer = WTFMove(buffer); > } > > + if (m_imageBuffer && m_size != m_imageBuffer->internalSize()) > + m_size = m_imageBuffer->internalSize();
Why is this function const?
Dean Jackson
Comment 4
2017-11-01 11:44:30 PDT
Committed
r224283
: <
https://trac.webkit.org/changeset/224283
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug