Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/fetch/ScriptResource.h

Issue 2227933002: Revert CompressibleString (and its UMA) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 254d5569a2601ea17c87393c4ef03c35d1aad23c..036e26b59b7c8120423c19ea3d8201f7d4a5e78f 100644
--- a/third_party/WebKit/Source/core/fetch/ScriptResource.h
+++ b/third_party/WebKit/Source/core/fetch/ScriptResource.h
@@ -30,8 +30,6 @@
#include "core/fetch/IntegrityMetadata.h"
#include "core/fetch/ResourceClient.h"
#include "core/fetch/TextResource.h"
-#include "platform/heap/Handle.h"
-#include "platform/text/CompressibleString.h"
namespace blink {
@@ -76,7 +74,7 @@ public:
void destroyDecodedDataForFailedRevalidation() override;
- const CompressibleString& script();
+ const String& script();
bool mimeTypeAllowedByNosniff() const;
@@ -104,7 +102,7 @@ private:
ScriptIntegrityDisposition m_integrityDisposition;
IntegrityMetadataSet m_integrityMetadata;
- CompressibleString m_script;
+ AtomicString m_script;
};
DEFINE_RESOURCE_TYPE_CASTS(Script);

Powered by Google App Engine