Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: Source/bindings/core/v8/ScriptStreamer.cpp

Issue 1237983003: Revalidate using the same Resource, attempt #2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/fetch/FontResource.cpp » ('j') | Source/core/fetch/Resource.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptStreamer.cpp
diff --git a/Source/bindings/core/v8/ScriptStreamer.cpp b/Source/bindings/core/v8/ScriptStreamer.cpp
index 3f388af2a9f9d94b182a21ff8a418739380e32f6..af7b0df68c6e90b7589d2eb695f40d6056347624 100644
--- a/Source/bindings/core/v8/ScriptStreamer.cpp
+++ b/Source/bindings/core/v8/ScriptStreamer.cpp
@@ -623,7 +623,7 @@ bool ScriptStreamer::startStreamingInternal(PendingScript& script, PendingScript
Platform::current()->histogramEnumeration(notStreamingReasonHistogramName(scriptType), NotHTTP, NotStreamingReasonEnd);
return false;
}
- if (resource->resourceToRevalidate()) {
+ if (resource->isCacheValidator()) {
Platform::current()->histogramEnumeration(notStreamingReasonHistogramName(scriptType), Reload, NotStreamingReasonEnd);
// This happens e.g., during reloads. We're actually not going to load
// the current Resource of the PendingScript but switch to another
« no previous file with comments | « no previous file | Source/core/fetch/FontResource.cpp » ('j') | Source/core/fetch/Resource.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698