browser(webkit): remove incognito emoji from title (#3765)

This commit is contained in:
Pavel Feldman 2020-09-03 23:33:43 -07:00 committed by GitHub
parent fc7b065b1b
commit b6557b9f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
1340
Changed: yurys@chromium.org Thu Sep 3 21:43:54 PDT 2020
1341
Changed: pavel.feldman@gmail.com Thu Sep 3 23:32:06 PDT 2020

View File

@ -476,7 +476,7 @@ static BOOL areEssentiallyEqual(double a, double b)
title = url.lastPathComponent ?: url._web_userVisibleString;
}
self.window.title = [NSString stringWithFormat:@"%@%@ [%d]%@", _isPrivateBrowsingWindow ? @"🙈 " : @"", title, _webView._webProcessIdentifier, @""];
self.window.title = title;
}
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context