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

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

Issue 1389383003: WIP: Introduce CompressibleString Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix Created 5 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/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);

Powered by Google App Engine
This is Rietveld 408576698