| Index: Source/core/html/imports/HTMLImportChild.cpp
|
| diff --git a/Source/core/html/imports/HTMLImportChild.cpp b/Source/core/html/imports/HTMLImportChild.cpp
|
| index 2b0c6c9f653109d295bfaacdb4f0eae67b63f633..4b5f65c64056b769776a15d0840e78c27e62b254 100644
|
| --- a/Source/core/html/imports/HTMLImportChild.cpp
|
| +++ b/Source/core/html/imports/HTMLImportChild.cpp
|
| @@ -42,13 +42,19 @@ namespace WebCore {
|
|
|
| HTMLImportChild::HTMLImportChild(Document& master, const KURL& url, SyncMode sync)
|
| : HTMLImport(sync)
|
| +#if ENABLE(OILPAN)
|
| + , m_master(&master)
|
| +#else
|
| , m_master(master)
|
| +#endif
|
| , m_url(url)
|
| , m_customElementMicrotaskStep(0)
|
| , m_loader(0)
|
| , m_client(0)
|
| {
|
| +#if !ENABLE(OILPAN)
|
| m_master.guardRef();
|
| +#endif
|
| }
|
|
|
| HTMLImportChild::~HTMLImportChild()
|
| @@ -65,7 +71,9 @@ HTMLImportChild::~HTMLImportChild()
|
| if (m_client)
|
| m_client->importChildWasDestroyed(this);
|
|
|
| +#if !ENABLE(OILPAN)
|
| m_master.guardDeref();
|
| +#endif
|
| }
|
|
|
| void HTMLImportChild::wasAlreadyLoaded()
|
|
|