refactor: declare gin::Wrapper subclasses as final (#43527)
As per the gin docs: "Wrappable<T> explicitly does not support further subclassing of T. Subclasses of Wrappable<T> should be declared final."
This commit is contained in:
parent
94f2722fa3
commit
8ae5aacc8c
35 changed files with 106 additions and 103 deletions
|
@ -35,7 +35,7 @@ class ElectronBrowserContext;
|
|||
namespace api {
|
||||
|
||||
// The code is referenced from the net_log::NetExportFileWriter class.
|
||||
class NetLog : public gin::Wrappable<NetLog> {
|
||||
class NetLog final : public gin::Wrappable<NetLog> {
|
||||
public:
|
||||
static gin::Handle<NetLog> Create(v8::Isolate* isolate,
|
||||
ElectronBrowserContext* browser_context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue