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

Unified Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.cpp

Issue 2508033004: Reduce unnecessary usage of TextCaseSensitivity::TextCaseInsensitive. (Closed)
Patch Set: Created 4 years, 1 month 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/html/HTMLObjectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
index f954a7bc4b88ed557afd21e44ffc1679c5cc95dc..7f450ff1f60bb6e50fddb5f33ba70f3828ea6db0 100644
--- a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
@@ -241,7 +241,7 @@ bool HTMLObjectElement::hasFallbackContent() const {
bool HTMLObjectElement::hasValidClassId() const {
if (MIMETypeRegistry::isJavaAppletMIMEType(m_serviceType) &&
- classId().startsWith("java:", TextCaseInsensitive))
+ classId().startsWith("java:", TextCaseASCIIInsensitive))
return true;
// HTML5 says that fallback content should be rendered if a non-empty
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/core/html/forms/EmailInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698