| 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 5003d50c0238958289a94c50d20063a586e5f2c7..d7971cfe48c8e95e082da1bb11d4053855fe2f4e 100644
|
| --- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| @@ -224,4 +224,13 @@ bool PendingScript::isReady() const
|
| return true;
|
| }
|
|
|
| +bool PendingScript::errorOccurred() const
|
| +{
|
| + if (resource())
|
| + return resource()->errorOccurred();
|
| + if (m_streamer && m_streamer->resource())
|
| + return m_streamer->resource()->errorOccurred();
|
| + return false;
|
| +}
|
| +
|
| } // namespace blink
|
|
|