Skip to content

Commit

Permalink
RemoteInspectionTarget::m_inspectable should be false by default
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=248116
rdar://102537970

Reviewed by Mark Lam.

Initialize m_inspectable field to false.

* Source/JavaScriptCore/inspector/remote/RemoteInspectionTarget.h:

Canonical link: https://commits.webkit.org/256866@main
  • Loading branch information
Constellation committed Nov 19, 2022
1 parent 6af2fb7 commit 9044f87
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -60,7 +60,7 @@ class JS_EXPORT_PRIVATE RemoteInspectionTarget : public RemoteControllableTarget
bool remoteControlAllowed() const final;

private:
bool m_inspectable;
bool m_inspectable { false };
#if USE(CF)
RetainPtr<CFRunLoopRef> m_runLoop;
#endif
Expand Down

0 comments on commit 9044f87

Please sign in to comment.