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

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

Issue 2776453002: Remove spurious condition from LinkLoader::getResourceTypeFromAsAttribute (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/LinkLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/LinkLoader.cpp b/third_party/WebKit/Source/core/loader/LinkLoader.cpp
index 14f38843600fbbcaf62095594064601790e5f10e..48a12d98d1cbe74f271b052206729ed4bbc41564 100644
--- a/third_party/WebKit/Source/core/loader/LinkLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/LinkLoader.cpp
@@ -201,8 +201,6 @@ WTF::Optional<Resource::Type> LinkLoader::GetResourceTypeFromAsAttribute(
return Resource::kTextTrack;
} else if (as == "font") {
return Resource::kFont;
- } else if (as == "track") {
- return Resource::kTextTrack;
} else if (as.IsEmpty()) {
return Resource::kRaw;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698