Index: third_party/WebKit/Source/core/fetch/ScriptResource.h |
diff --git a/third_party/WebKit/Source/core/fetch/ScriptResource.h b/third_party/WebKit/Source/core/fetch/ScriptResource.h |
index 58dc5bef717f316fee05b078796f409b65a2ff55..b536a5e5e847371b96effb0a1914598ec694e4d1 100644 |
--- a/third_party/WebKit/Source/core/fetch/ScriptResource.h |
+++ b/third_party/WebKit/Source/core/fetch/ScriptResource.h |
@@ -30,6 +30,7 @@ |
#include "core/fetch/IntegrityMetadata.h" |
#include "core/fetch/ResourceClient.h" |
#include "core/fetch/TextResource.h" |
+#include "platform/text/CompressableString.h" |
namespace blink { |
@@ -62,7 +63,7 @@ public: |
void destroyDecodedDataForFailedRevalidation() override; |
- const String& script(); |
+ const CompressableString& script(); |
AtomicString mimeType() const; |
@@ -89,7 +90,7 @@ private: |
bool m_integrityChecked; |
IntegrityMetadataSet m_integrityMetadata; |
- AtomicString m_script; |
+ CompressableString m_script; |
}; |
DEFINE_RESOURCE_TYPE_CASTS(Script); |