From b6557b9f92dae8572cd4dd586c2340c5af894649 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 3 Sep 2020 23:33:43 -0700 Subject: [PATCH] browser(webkit): remove incognito emoji from title (#3765) --- browser_patches/webkit/BUILD_NUMBER | 4 ++-- .../webkit/embedder/Playwright/mac/BrowserWindowController.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER index 26c2abf70c..86287eff65 100644 --- a/browser_patches/webkit/BUILD_NUMBER +++ b/browser_patches/webkit/BUILD_NUMBER @@ -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 diff --git a/browser_patches/webkit/embedder/Playwright/mac/BrowserWindowController.m b/browser_patches/webkit/embedder/Playwright/mac/BrowserWindowController.m index 9ea7388a6e..ca160302b8 100644 --- a/browser_patches/webkit/embedder/Playwright/mac/BrowserWindowController.m +++ b/browser_patches/webkit/embedder/Playwright/mac/BrowserWindowController.m @@ -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