mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
AK: Expose the memory offset of Vector's outline buffer pointer
This commit is contained in:
parent
bdce36dddb
commit
0bbf230e4f
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0bbf230e4f Pull-request: https://github.com/SerenityOS/serenity/pull/21822 Reviewed-by: https://github.com/DanShaders Reviewed-by: https://github.com/Hendiadyoin1
1 changed files with 2 additions and 0 deletions
|
@ -811,6 +811,8 @@ public:
|
|||
AK::swap(at(i), at(size() - i - 1));
|
||||
}
|
||||
|
||||
static FlatPtr outline_buffer_offset() { return OFFSET_OF(Vector, m_outline_buffer); }
|
||||
|
||||
private:
|
||||
void reset_capacity()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue