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

Unified Diff: chrome/common/visitedlink_common.cc

Issue 42114: Don't leak visited site information from original profile to OTR profile.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | « chrome/common/visitedlink_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/visitedlink_common.cc
===================================================================
--- chrome/common/visitedlink_common.cc (revision 11430)
+++ chrome/common/visitedlink_common.cc (working copy)
@@ -24,11 +24,8 @@
size_t url_len) const {
if (url_len == 0)
return false;
- if (!hash_table_ || table_length_ == 0) {
- // Init() will always create a table, this means somebody forgot
- NOTREACHED();
+ if (!hash_table_ || table_length_ == 0)
return false;
- }
return IsVisited(ComputeURLFingerprint(canonical_url, url_len));
}
« no previous file with comments | « chrome/common/visitedlink_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698