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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/Resource.h

Issue 2774843002: Pass AccessControlStatus to compileModule() (Closed)
Patch Set: const Created 3 years, 8 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/platform/loader/fetch/Resource.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/Resource.h b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
index 0ff68ed929b64f11ac2caaad06dcd11fbf09132d..91e7030e6a290f646482ec7bf4cab4ce3a309e48 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/Resource.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
@@ -204,7 +204,7 @@ class PLATFORM_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
virtual void finish(double finishTime);
void finish() { finish(0.0); }
- bool passesAccessControlCheck(SecurityOrigin*) const;
+ bool passesAccessControlCheck(const SecurityOrigin*) const;
virtual PassRefPtr<const SharedBuffer> resourceBuffer() const {
return m_data;

Powered by Google App Engine
This is Rietveld 408576698