Index: Source/core/html/imports/HTMLImportChild.cpp |
diff --git a/Source/core/html/imports/HTMLImportChild.cpp b/Source/core/html/imports/HTMLImportChild.cpp |
index 3c2c94f640227f2fdfafd8a316151e3723c476c0..4309e071e08606f285a5ed65c40f950a1ef3f899 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() |