Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/NavigatorCredentials.cpp

Issue 2596443005: Replace DOMWindowProperty in Navigator supplements with ContextClient (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/credentialmanager/NavigatorCredentials.cpp
diff --git a/third_party/WebKit/Source/modules/credentialmanager/NavigatorCredentials.cpp b/third_party/WebKit/Source/modules/credentialmanager/NavigatorCredentials.cpp
index 00c73f0618acc735793a1389c917cc2bc05f86fd..dbda6a66b3a025e7e8061b3ec9098d2855bebb55 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/NavigatorCredentials.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/NavigatorCredentials.cpp
@@ -13,7 +13,7 @@
namespace blink {
NavigatorCredentials::NavigatorCredentials(Navigator& navigator)
- : DOMWindowProperty(navigator.frame()) {}
+ : ContextClient(navigator.frame()) {}
NavigatorCredentials& NavigatorCredentials::from(Navigator& navigator) {
NavigatorCredentials* supplement = static_cast<NavigatorCredentials*>(
@@ -42,7 +42,7 @@ CredentialsContainer* NavigatorCredentials::credentials() {
DEFINE_TRACE(NavigatorCredentials) {
visitor->trace(m_credentialsContainer);
Supplement<Navigator>::trace(visitor);
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698