summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink_master.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 04:29:20 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 04:29:20 +0000
commit39fe32a42c9eab376aeefd1ae845085d8828c3ec (patch)
treea183411c44c9c958fd2f4ce05138c316158b94a1 /chrome/browser/visitedlink_master.cc
parent5924fb63dc581087092336c3449e80a24d848492 (diff)
downloadchromium_src-39fe32a42c9eab376aeefd1ae845085d8828c3ec.zip
chromium_src-39fe32a42c9eab376aeefd1ae845085d8828c3ec.tar.gz
chromium_src-39fe32a42c9eab376aeefd1ae845085d8828c3ec.tar.bz2
Reverting 27389.
Review URL: http://codereview.chromium.org/246027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_master.cc')
-rw-r--r--chrome/browser/visitedlink_master.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/visitedlink_master.cc b/chrome/browser/visitedlink_master.cc
index 0e1ac9c..6bd06bb 100644
--- a/chrome/browser/visitedlink_master.cc
+++ b/chrome/browser/visitedlink_master.cc
@@ -165,8 +165,9 @@ class AsyncCloseHandle : public Task {
// Sometimes, the master will be deleted before the rebuild is complete, in
// which case it notifies the builder via DisownMaster(). The builder will
// delete itself once rebuilding is complete, and not execute any callback.
-class VisitedLinkMaster::TableBuilder : public HistoryService::URLEnumerator,
- public base::RefCounted<TableBuilder> {
+class VisitedLinkMaster::TableBuilder :
+ public HistoryService::URLEnumerator,
+ public base::RefCountedThreadSafe<TableBuilder> {
public:
TableBuilder(VisitedLinkMaster* master,
const uint8 salt[LINK_SALT_LENGTH]);