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

Unified Diff: chrome/browser/prerender/prerender_contents.cc

Issue 14949012: Add instrumentation to see how often a local predictor prerender could be (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
Index: chrome/browser/prerender/prerender_contents.cc
===================================================================
--- chrome/browser/prerender/prerender_contents.cc (revision 199567)
+++ chrome/browser/prerender/prerender_contents.cc (working copy)
@@ -538,7 +538,6 @@
bool PrerenderContents::Matches(
const GURL& url,
const SessionStorageNamespace* session_storage_namespace) const {
- DCHECK(child_id_ == -1 || session_storage_namespace);
Shishir 2013/05/14 20:01:43 Why was this line written in the first place?
tburkard 2013/05/14 20:04:40 Gavin had written this check based on the way it w
if (session_storage_namespace &&
session_storage_namespace_id_ != session_storage_namespace->id()) {
return false;
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_handle.h » ('j') | chrome/browser/prerender/prerender_local_predictor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698