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

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: Rebase onto crrev.com/1564773002 Created 4 years, 11 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 79eaff54451366e00ffbf6dc6048fe8bde3308d1..8fc782199e3a802f17ca8f418c21f3841e7dcb3d 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 "wtf/text/CompressibleString.h"
namespace blink {
@@ -62,7 +63,7 @@ public:
void destroyDecodedDataForFailedRevalidation() override;
- const String& script();
+ const CompressibleString& script();
AtomicString mimeType() const;
@@ -89,7 +90,7 @@ private:
bool m_integrityChecked;
IntegrityMetadataSet m_integrityMetadata;
- AtomicString m_script;
+ CompressibleString 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