Chromium Code Reviews| Index: Source/core/loader/cache/CachedScript.cpp |
| =================================================================== |
| --- Source/core/loader/cache/CachedScript.cpp (revision 153522) |
| +++ Source/core/loader/cache/CachedScript.cpp (working copy) |
| @@ -86,7 +86,7 @@ |
| bool CachedScript::mimeTypeAllowedByNosniff() const |
| { |
| - return !parseContentTypeOptionsHeader(m_response.httpHeaderField("X-Content-Type-Options")) == ContentTypeOptionsNosniff || MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType()); |
| + return !(parseContentTypeOptionsHeader(m_response.httpHeaderField("X-Content-Type-Options")) == ContentTypeOptionsNosniff) || MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType()); |
|
jochen (gone - plz use gerrit)
2013/07/05 07:43:12
why not just != ?
|
| } |
| void CachedScript::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |