summaryrefslogtreecommitdiff
path: root/chromium/components/favicon/ios
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-28 16:14:41 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-12-13 15:19:41 +0000
commit61d9742824d54be5693191fe502325a909feca59 (patch)
treecbf28e779b11338fe52eb75b915684cd8955542c /chromium/components/favicon/ios
parent45f9ded08bb7526984b24ccb5a5327aaf6821676 (diff)
downloadqtwebengine-chromium-61d9742824d54be5693191fe502325a909feca59.tar.gz
BASELINE: Update Chromium to 108.0.5359.70
Change-Id: I77334ff232b819600f275bd3cfe41fbaa3619230 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/445904 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/favicon/ios')
-rw-r--r--chromium/components/favicon/ios/BUILD.gn2
-rw-r--r--chromium/components/favicon/ios/favicon_url_util.cc2
-rw-r--r--chromium/components/favicon/ios/favicon_url_util.h2
-rw-r--r--chromium/components/favicon/ios/web_favicon_driver.h5
-rw-r--r--chromium/components/favicon/ios/web_favicon_driver.mm12
5 files changed, 5 insertions, 18 deletions
diff --git a/chromium/components/favicon/ios/BUILD.gn b/chromium/components/favicon/ios/BUILD.gn
index 5014a92e55b..a74968a44b5 100644
--- a/chromium/components/favicon/ios/BUILD.gn
+++ b/chromium/components/favicon/ios/BUILD.gn
@@ -1,4 +1,4 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
+# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
diff --git a/chromium/components/favicon/ios/favicon_url_util.cc b/chromium/components/favicon/ios/favicon_url_util.cc
index 35c429efab1..2a60084be7e 100644
--- a/chromium/components/favicon/ios/favicon_url_util.cc
+++ b/chromium/components/favicon/ios/favicon_url_util.cc
@@ -1,4 +1,4 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
diff --git a/chromium/components/favicon/ios/favicon_url_util.h b/chromium/components/favicon/ios/favicon_url_util.h
index a76db0761e8..68ae8396b55 100644
--- a/chromium/components/favicon/ios/favicon_url_util.h
+++ b/chromium/components/favicon/ios/favicon_url_util.h
@@ -1,4 +1,4 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
diff --git a/chromium/components/favicon/ios/web_favicon_driver.h b/chromium/components/favicon/ios/web_favicon_driver.h
index 84bbb2a546b..1b650d191b5 100644
--- a/chromium/components/favicon/ios/web_favicon_driver.h
+++ b/chromium/components/favicon/ios/web_favicon_driver.h
@@ -1,4 +1,4 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -31,9 +31,6 @@ class WebFaviconDriver : public web::WebStateObserver,
~WebFaviconDriver() override;
- static void CreateForWebState(web::WebState* web_state,
- CoreFaviconService* favicon_service);
-
// FaviconDriver implementation.
gfx::Image GetFavicon() const override;
bool FaviconIsValid() const override;
diff --git a/chromium/components/favicon/ios/web_favicon_driver.mm b/chromium/components/favicon/ios/web_favicon_driver.mm
index 00ca6e83c37..adab0d50534 100644
--- a/chromium/components/favicon/ios/web_favicon_driver.mm
+++ b/chromium/components/favicon/ios/web_favicon_driver.mm
@@ -1,4 +1,4 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -25,16 +25,6 @@
namespace favicon {
-// static
-void WebFaviconDriver::CreateForWebState(web::WebState* web_state,
- CoreFaviconService* favicon_service) {
- if (FromWebState(web_state))
- return;
-
- web_state->SetUserData(UserDataKey(), base::WrapUnique(new WebFaviconDriver(
- web_state, favicon_service)));
-}
-
gfx::Image WebFaviconDriver::GetFavicon() const {
return web_state_->GetFaviconStatus().image;
}