Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r181643 - [GTK] Wrong transfer annotations used in GObject DOM …
…bindings https://bugs.webkit.org/show_bug.cgi?id=142780 Reviewed by Gustavo Noronha Silva. We are using transfer none for all methods returning a GObject DOM Object. That's not true. Only objects derived from Node are automatically released by the DOM object cache and can be transfer none. All other objects are added to the cache only to avoid creating the same wrapper twice for the same core object, but caller should release the returned reference. * bindings/gobject/WebKitDOMCustomUnstable.h: * bindings/scripts/CodeGeneratorGObject.pm: (GetTransferTypeForReturnType): (GenerateFunction):
- Loading branch information
1 parent
9307397
commit 1f10b80
Showing
3 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters