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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2704153002: ParsedContentType refactoring (Closed)
Patch Set: fix Created 3 years, 10 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/core/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index b17334d2f92fd32e889938edec2b7d6f8302c096..e696011fc2f0671996064d79bc1e05fc1b99c03a 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -110,7 +110,7 @@ class BeaconBlob final : public Beacon {
public:
explicit BeaconBlob(Blob* data) : m_data(data) {
const String& blobType = m_data->type();
- if (!blobType.isEmpty() && isValidContentType(blobType))
+ if (!blobType.isEmpty() && ParsedContentType::isValid(blobType))
m_contentType = AtomicString(blobType);
}

Powered by Google App Engine
This is Rietveld 408576698