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

Unified Diff: third_party/WebKit/Source/platform/weborigin/KURL.cpp

Issue 2655853003: Replace StringImpl::empty{16Bit}() with a static member (Closed)
Patch Set: annotate race 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/platform/weborigin/KURL.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.cpp b/third_party/WebKit/Source/platform/weborigin/KURL.cpp
index f34a5bcdbf95340b6eb8bf5e31c51eeaa5a98cc4..6df46cf04b66a2d07e949243819ec46afcd2377a 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.cpp
@@ -836,7 +836,7 @@ bool KURL::protocolIs(const StringView protocol) const {
}
StringView KURL::stringViewForInvalidComponent() const {
- return m_string.isNull() ? StringView() : StringView(StringImpl::empty());
+ return m_string.isNull() ? StringView() : StringView(StringImpl::empty);
}
StringView KURL::componentStringView(const url::Component& component) const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutWordBreak.cpp ('k') | third_party/WebKit/Source/wtf/ThreadingPthreads.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698