Index: third_party/WebKit/Source/core/dom/PendingScript.cpp |
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.cpp b/third_party/WebKit/Source/core/dom/PendingScript.cpp |
index 81cd667e253d666838e883fb7411c796e0d95c13..17956db1a2326f2f73c8296e2cf976967fb6f7ac 100644 |
--- a/third_party/WebKit/Source/core/dom/PendingScript.cpp |
+++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp |
@@ -108,6 +108,11 @@ void PendingScript::stopWatchingForLoad(ScriptResourceClient* client) |
m_watchingForLoad = false; |
} |
+Element* PendingScript::element() const |
+{ |
+ return m_element.get(); |
+} |
+ |
void PendingScript::setElement(Element* element) |
{ |
m_element = element; |