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

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

Issue 832933005: Oilpan: fix webkit unit tests following r187980. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/core/fetch/ScriptResource.h
diff --git a/Source/core/fetch/ScriptResource.h b/Source/core/fetch/ScriptResource.h
index bb1179bb99301703cebb4764eaa6f4000884b445..05b3cc9d347db4b7f92954328bcb453201f3ec5b 100644
--- a/Source/core/fetch/ScriptResource.h
+++ b/Source/core/fetch/ScriptResource.h
@@ -45,8 +45,11 @@ public:
class ScriptResource final : public TextResource {
public:
typedef ScriptResourceClient ClientType;
+ static PassOwnPtrWillBeRawPtr<ScriptResource> create(const ResourceRequest& request, const String& charset)
+ {
+ return adoptPtrWillBeNoop(new ScriptResource(request, charset));
+ }
- ScriptResource(const ResourceRequest&, const String& charset);
virtual ~ScriptResource();
virtual void didAddClient(ResourceClient*) override;
@@ -59,6 +62,8 @@ public:
bool mimeTypeAllowedByNosniff() const;
private:
+ ScriptResource(const ResourceRequest&, const String& charset);
+
AtomicString m_script;
};
« Source/bindings/core/v8/ScriptStreamerTest.cpp ('K') | « Source/core/fetch/ResourceFetcher.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698