Index: Source/core/dom/shadow/ShadowRoot.h |
diff --git a/Source/core/dom/shadow/ShadowRoot.h b/Source/core/dom/shadow/ShadowRoot.h |
index add60a488592933e33148b90dcfb70cb7630da8a..45f2f6e73c56c9d020ca3cff88619b78b00606e0 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.h |
+++ b/Source/core/dom/shadow/ShadowRoot.h |
@@ -70,6 +70,8 @@ public: |
using TreeScope::document; |
using TreeScope::getElementById; |
+ // TODO(kochi): crbug.com/507413 In non-Oilpan, host() may return null during queued |
+ // async event handling. |
Element* host() const { return toElement(parentOrShadowHostNode()); } |
ElementShadow* owner() const { return host() ? host()->shadow() : 0; } |