mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 14:50:02 +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: 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, strong) InspectorController* inspector_controller;
|
||||||
|
|
||||||
@property (nonatomic, assign) URL::URL last_url;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation Tab
|
@implementation Tab
|
||||||
|
@ -223,10 +221,6 @@ static constexpr CGFloat const WINDOW_HEIGHT = 800;
|
||||||
|
|
||||||
- (void)onLoadStart:(URL::URL const&)url isRedirect:(BOOL)is_redirect
|
- (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 tabController] onLoadStart:url isRedirect:is_redirect];
|
||||||
|
|
||||||
self.title = Ladybird::string_to_ns_string(url.serialize());
|
self.title = Ladybird::string_to_ns_string(url.serialize());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue