refactor: declare gin::Wrapper subclasses as final (#43566)
As per the gin docs: "Wrappable<T> explicitly does not support further subclassing of T. Subclasses of Wrappable<T> should be declared final." Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
61fbd29bc5
commit
cdbb09835d
35 changed files with 106 additions and 103 deletions
|
@ -22,7 +22,8 @@ class BrowserContext;
|
|||
|
||||
namespace electron::api {
|
||||
|
||||
class WebRequest : public gin::Wrappable<WebRequest>, public WebRequestAPI {
|
||||
class WebRequest final : public gin::Wrappable<WebRequest>,
|
||||
public WebRequestAPI {
|
||||
public:
|
||||
// Return the WebRequest object attached to |browser_context|, create if there
|
||||
// is no one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue