Index: third_party/WebKit/Source/core/dom/ClassicPendingScript.h |
diff --git a/third_party/WebKit/Source/core/dom/ClassicPendingScript.h b/third_party/WebKit/Source/core/dom/ClassicPendingScript.h |
index 7110a9083ceb455ed12fc3a3007f47e596f84c08..691572efba27ff5352aac34596bbf7e8b3f77fef 100644 |
--- a/third_party/WebKit/Source/core/dom/ClassicPendingScript.h |
+++ b/third_party/WebKit/Source/core/dom/ClassicPendingScript.h |
@@ -59,6 +59,8 @@ class CORE_EXPORT ClassicPendingScript final |
void Prefinalize(); |
+ const ScriptResourceData* ResourceData() const { return resource_data_; } |
+ |
private: |
ClassicPendingScript(ScriptElementBase*, |
ScriptResource*, |
@@ -86,6 +88,8 @@ class CORE_EXPORT ClassicPendingScript final |
// doesn't break assumptions. |
// TODO(hiroshige): Check the state in more general way. |
bool prefinalizer_called_ = false; |
+ |
+ Member<const ScriptResourceData> resource_data_; |
}; |
} // namespace blink |