mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
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:
parent
2830bdf04a
commit
258b1f30b4
Notes:
sideshowbarker
2024-07-17 05:23:40 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/258b1f30b4 Pull-request: https://github.com/SerenityOS/serenity/pull/23758 Reviewed-by: https://github.com/kalenikaliaksandr ✅
1 changed files with 0 additions and 6 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue