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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.h

Issue 2668903003: Replace WTF::emptyString{16Bit}() with a static global (Closed)
Patch Set: Replace WTF::emptyString{16Bit}() with a static global 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/credentialmanager/FederatedCredential.h
diff --git a/third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.h b/third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.h
index af868e47cd07866e45a439aa95395d06d94ccc1d..e675240f4e72c6e6952bfbc9a4a7d57ff8bebdfc 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.h
+++ b/third_party/WebKit/Source/modules/credentialmanager/FederatedCredential.h
@@ -30,7 +30,7 @@ class MODULES_EXPORT FederatedCredential final : public SiteBoundCredential {
// TODO(mkwst): This is a stub, as we don't yet have any support on the
// Chromium-side.
- const String& protocol() const { return emptyString(); }
+ const String& protocol() const { return emptyString; }
private:
FederatedCredential(WebFederatedCredential*);

Powered by Google App Engine
This is Rietveld 408576698