mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibWeb: Avoid HashMap copy in BrowsingContext::set_frame_nesting_levels
This commit is contained in:
parent
9bc3ad75b4
commit
f670adb298
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ public:
|
|||
void register_frame_nesting(URL const&);
|
||||
bool is_frame_nesting_allowed(URL const&) const;
|
||||
|
||||
void set_frame_nesting_levels(const HashMap<URL, size_t> frame_nesting_levels) { m_frame_nesting_levels = move(frame_nesting_levels); };
|
||||
void set_frame_nesting_levels(HashMap<URL, size_t> frame_nesting_levels) { m_frame_nesting_levels = move(frame_nesting_levels); };
|
||||
HashMap<URL, size_t> const& frame_nesting_levels() const { return m_frame_nesting_levels; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue