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

Unified Diff: third_party/WebKit/Source/modules/webauth/NavigatorAuth.cpp

Issue 2649073002: Use a new Supplement constructor in Navigator supplements (part 2) (Closed)
Patch Set: temp Created 3 years, 11 months 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/webauth/NavigatorAuth.cpp
diff --git a/third_party/WebKit/Source/modules/webauth/NavigatorAuth.cpp b/third_party/WebKit/Source/modules/webauth/NavigatorAuth.cpp
index e0146a32ea641365228ea0a06b4b54bccb3bbdcd..1fcf03c71b3ce158f6ac0c6cd030a8338a9eb70a 100644
--- a/third_party/WebKit/Source/modules/webauth/NavigatorAuth.cpp
+++ b/third_party/WebKit/Source/modules/webauth/NavigatorAuth.cpp
@@ -32,7 +32,8 @@ DEFINE_TRACE(NavigatorAuth) {
Supplement<Navigator>::trace(visitor);
}
-NavigatorAuth::NavigatorAuth(Navigator& navigator) {
+NavigatorAuth::NavigatorAuth(Navigator& navigator)
+ : Supplement<Navigator>(navigator) {
if (navigator.frame())
m_webauthentication = WebAuthentication::create(*navigator.frame());
}

Powered by Google App Engine
This is Rietveld 408576698