Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp |
index bc4fef05fec3eb30296e4ba499cc3924809bf2cc..9f84f52d299ace29b3aa90c510849078bb02be0d 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp |
@@ -653,13 +653,6 @@ bool ScriptStreamer::startStreamingInternal(PendingScript* script, Type scriptTy |
recordNotStreamingReasonHistogram(scriptType, NotHTTP); |
return false; |
} |
- if (resource->isCacheValidator()) { |
Nate Chapin
2016/05/19 22:18:38
I think this this was a cache for the old way of r
yhirano
2016/05/23 11:40:38
It seems this branch was introduced at https://cod
yhirano
2016/05/24 11:18:51
I think this branch is needed because ScriptResour
Nate Chapin
2016/05/26 21:43:02
Ok, the lack of tests is annoying, but I agree tha
|
- recordNotStreamingReasonHistogram(scriptType, Reload); |
- // This happens e.g., during reloads. We're actually not going to load |
- // the current Resource of the PendingScript but switch to another |
- // Resource -> don't stream. |
- return false; |
- } |
// We cannot filter out short scripts, even if we wait for the HTTP headers |
// to arrive: the Content-Length HTTP header is not sent for chunked |
// downloads. |