summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink_master.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/visitedlink_master.cc')
-rw-r--r--chrome/browser/visitedlink_master.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/visitedlink_master.cc b/chrome/browser/visitedlink_master.cc
index 8bbe926..a7ccd13 100644
--- a/chrome/browser/visitedlink_master.cc
+++ b/chrome/browser/visitedlink_master.cc
@@ -182,6 +182,10 @@ class VisitedLinkMaster::TableBuilder
virtual void OnComplete(bool succeed);
private:
+ friend class base::RefCountedThreadSafe<TableBuilder>;
+
+ ~TableBuilder() {}
+
// OnComplete mashals to this function on the main thread to do the
// notification.
void OnCompleteMainThread();