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 5058b054842ef0a0a1e7a2dec040952ddb10d19b..5003d50c0238958289a94c50d20063a586e5f2c7 100644 |
--- a/third_party/WebKit/Source/core/dom/PendingScript.cpp |
+++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp |
@@ -155,7 +155,7 @@ void PendingScript::notifyFinished(Resource* resource) |
// |
// See https://crbug.com/500701 for more information. |
if (m_element) { |
- ASSERT(resource->type() == Resource::Script); |
+ ASSERT(resource->getType() == Resource::Script); |
ScriptResource* scriptResource = toScriptResource(resource); |
String integrityAttr = m_element->fastGetAttribute(HTMLNames::integrityAttr); |