browser(webkit): remove incognito emoji from title (#3765)
This commit is contained in:
parent
fc7b065b1b
commit
b6557b9f92
|
|
@ -1,2 +1,2 @@
|
||||||
1340
|
1341
|
||||||
Changed: yurys@chromium.org Thu Sep 3 21:43:54 PDT 2020
|
Changed: pavel.feldman@gmail.com Thu Sep 3 23:32:06 PDT 2020
|
||||||
|
|
|
||||||
|
|
@ -476,7 +476,7 @@ static BOOL areEssentiallyEqual(double a, double b)
|
||||||
title = url.lastPathComponent ?: url._web_userVisibleString;
|
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
|
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue