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

Unified Diff: Source/core/html/imports/HTMLImportChild.h

Issue 183883004: Let ContentSecurityPolicy shared between imports and the master. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding guardRef()/guardDeref() Created 6 years, 10 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
« no previous file with comments | « Source/core/frame/ContentSecurityPolicy.h ('k') | Source/core/html/imports/HTMLImportChild.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/HTMLImportChild.h
diff --git a/Source/core/html/imports/HTMLImportChild.h b/Source/core/html/imports/HTMLImportChild.h
index 12f6dac597cf19bd59a5982ff785ac2e0bf8aa34..b0e51ed5fcbbee0da056cfb1a39dc33fcc277ac9 100644
--- a/Source/core/html/imports/HTMLImportChild.h
+++ b/Source/core/html/imports/HTMLImportChild.h
@@ -56,7 +56,7 @@ class HTMLLinkElement;
//
class HTMLImportChild FINAL : public HTMLImport, public HTMLImportLoaderClient, public ResourceOwner<RawResource> {
public:
- HTMLImportChild(const KURL&, bool createdByParser);
+ HTMLImportChild(Document&, const KURL&, bool createdByParser);
virtual ~HTMLImportChild();
HTMLLinkElement* link() const;
@@ -102,6 +102,7 @@ private:
void shareLoader(HTMLImportChild*);
void ensureLoader();
+ Document& m_master;
KURL m_url;
CustomElementMicrotaskImportStep* m_customElementMicrotaskStep;
RefPtr<HTMLImportLoader> m_loader;
« no previous file with comments | « Source/core/frame/ContentSecurityPolicy.h ('k') | Source/core/html/imports/HTMLImportChild.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698