Index: third_party/WebKit/Source/core/dom/ScriptLoader.h |
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.h b/third_party/WebKit/Source/core/dom/ScriptLoader.h |
index b98e90fd56cf2c474c130e30efb86a7c8aa64347..99d47c3a112fe95911e5ffa487289412100a094f 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.h |
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.h |
@@ -81,6 +81,7 @@ public: |
void handleAsyncAttribute(); |
virtual bool isReady() const { return m_pendingScript && m_pendingScript->isReady(); } |
+ bool errorOccurred() const { return m_pendingScript && m_pendingScript->errorOccurred(); } |
// Clears the connection to the PendingScript (and Element and Resource). |
void detach(); |