Ladybird/AppKit: Remove an unused property from Tab

This was added for a feature that has since been removed, and is now
unused.
This commit is contained in:
Timothy Flynn 2024-03-28 22:17:11 -04:00 committed by Tim Flynn
parent 2830bdf04a
commit 258b1f30b4
Notes: sideshowbarker 2024-07-17 05:23:40 +09:00

View file

@ -34,8 +34,6 @@ static constexpr CGFloat const WINDOW_HEIGHT = 800;
@property (nonatomic, strong) InspectorController* inspector_controller;
@property (nonatomic, assign) URL::URL last_url;
@end
@implementation Tab
@ -223,10 +221,6 @@ static constexpr CGFloat const WINDOW_HEIGHT = 800;
- (void)onLoadStart:(URL::URL const&)url isRedirect:(BOOL)is_redirect
{
if (url != self.last_url) {
self.last_url = url;
}
[[self tabController] onLoadStart:url isRedirect:is_redirect];
self.title = Ladybird::string_to_ns_string(url.serialize());