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

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

Issue 305743003: HTMLImportsController does not need to hold Document ptr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 7 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/html/LinkResource.cpp ('k') | Source/core/html/imports/HTMLImportsController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/imports/HTMLImportsController.h
diff --git a/Source/core/html/imports/HTMLImportsController.h b/Source/core/html/imports/HTMLImportsController.h
index 9b9596d417e82b8b3da7a16bf40183b8e5a8cfaf..e4ee23de7b17725f58d4963afe5e975b1da7655d 100644
--- a/Source/core/html/imports/HTMLImportsController.h
+++ b/Source/core/html/imports/HTMLImportsController.h
@@ -61,17 +61,13 @@ public:
HTMLImportTreeRoot* root() const { return m_root.get(); }
- bool isMaster(const Document& document) const { return m_master == &document; }
bool shouldBlockScriptExecution(const Document&) const;
void wasDetachedFrom(const Document&);
HTMLImportChild* load(HTMLImport* parent, HTMLImportChildClient*, FetchRequest);
void showSecurityErrorMessage(const String&);
- SecurityOrigin* securityOrigin() const;
- ResourceFetcher* fetcher() const;
- LocalFrame* frame() const;
- Document* master() const { return m_master; }
+ Document* master() const;
HTMLImportLoader* createLoader();
@@ -83,8 +79,6 @@ private:
HTMLImportChild* createChild(const KURL&, HTMLImportLoader*, HTMLImport* parent, HTMLImportChildClient*);
void clear();
- Document* m_master;
-
OwnPtr<HTMLImportTreeRoot> m_root;
typedef Vector<OwnPtr<HTMLImportLoader> > LoaderList;
« no previous file with comments | « Source/core/html/LinkResource.cpp ('k') | Source/core/html/imports/HTMLImportsController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698