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 cdcf29482b4339a0fba0515ad7b81af7437d1ae7..7ea074252620e6ed402a035c3bbe8bfceba0d48e 100644 |
--- a/third_party/WebKit/Source/core/dom/PendingScript.cpp |
+++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp |
@@ -221,19 +221,13 @@ |
MemoryCoordinatorClient::trace(visitor); |
} |
-NOINLINE ScriptSourceCode PendingScript::getSource(const KURL& documentURL, |
- bool& errorOccurred) const { |
+ScriptSourceCode PendingScript::getSource(const KURL& documentURL, |
+ bool& errorOccurred) const { |
checkState(); |
errorOccurred = this->errorOccurred(); |
if (resource()) { |
- // For investigating https://crbug.com/692856. |
- CHECK(resource()->isLoaded() || |
- (resource()->isLoading() && resource()->hasRevalidated())); |
- CHECK(resource()->isLoaded() || |
- (resource()->isLoading() && resource()->isCacheValidator())); |
- CHECK(resource()->isLoaded()); |
- |
+ DCHECK(resource()->isLoaded()); |
if (m_streamer && !m_streamer->streamingSuppressed()) |
return ScriptSourceCode(m_streamer, resource()); |
return ScriptSourceCode(resource()); |