1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:18:13 +00:00
serenity/Userland/Libraries/LibWeb/Page
Nicholas-Baron c4ede38542 Everything: Add -Wnon-virtual-dtor flag
This flag warns on classes which have `virtual` functions but do not
have a `virtual` destructor.

This patch adds both the flag and missing destructors. The access level
of the destructors was determined by a two rules of thumb:
1. A destructor should have a similar or lower access level to that of a
   constructor.
2. Having a `private` destructor implicitly deletes the default
   constructor, which is probably undesirable for "interface" types
   (classes with only virtual functions and no data).

In short, most of the added destructors are `protected`, unless the
compiler complained about access.
2021-04-15 20:57:13 +02:00
..
EditEventHandler.cpp LibWeb: Make the node mutation algorithms more spec compliant 2021-04-06 21:42:00 +02:00
EditEventHandler.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
EventHandler.cpp LibWeb: Expose the MouseEvent::{clientX, clientY} attributes 2021-04-15 20:22:08 +02:00
EventHandler.h LibWeb: Plumb wheel events from widget layer to EventHandler 2021-02-22 21:46:54 +01:00
Frame.cpp LibWeb: Only call page_did_change_title() from main frame 2021-03-21 09:36:37 +01:00
Frame.h LibWeb: Remove WidgetBox layout node 2021-02-10 09:13:30 +01:00
Page.cpp LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
Page.h Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00