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

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: Address on Ilya's review Created 4 years, 4 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
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);
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptLoader.cpp ('k') | third_party/WebKit/Source/core/fetch/ScriptResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698