5 ms·
Another problematic area is RTTI and dynamic_cast. Chromium disables both that and exceptions. As a replacement in few places where dynamic_cast can be useful C
by _0w8t 5y ago
Another problematic area is RTTI and dynamic_cast. Chromium disables both that and exceptions. As a replacement in few places where dynamic_cast can be useful Chromium adds a virtual function to the base class to return the subclass or null.
Chromium code replaces exceptions with boolean flags and logging or code to kill the current process for bad cases like out-of-bound access.