fix: the callback of beginFrameSubscription should pass NativeImage instead of Buffer (#17548)
* Revert "revert: frame subscriber deprecation and re-enable tests"
This reverts commit f643ce4f66
.
* fix: make sure SkBitmap's pixels are copied
This commit is contained in:
parent
77d59e99b6
commit
ac30185a04
4 changed files with 25 additions and 33 deletions
|
@ -1825,7 +1825,7 @@ void WebContents::BeginFrameSubscription(mate::Arguments* args) {
|
|||
}
|
||||
|
||||
frame_subscriber_.reset(
|
||||
new FrameSubscriber(isolate(), web_contents(), callback, only_dirty));
|
||||
new FrameSubscriber(web_contents(), callback, only_dirty));
|
||||
}
|
||||
|
||||
void WebContents::EndFrameSubscription() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue