diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:36:29 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:36:29 +0000 |
commit | c2d4449362cb38bfe492d7655885c4c5b3944139 (patch) | |
tree | 5393b6d1c019fc3b3ce8c74eea523a0a77f549d9 /chrome/browser/history/history_marshaling.h | |
parent | 3f7275f851e79ddd8e285e7267e1d8ac7e360f0d (diff) | |
download | chromium_src-c2d4449362cb38bfe492d7655885c4c5b3944139.zip chromium_src-c2d4449362cb38bfe492d7655885c4c5b3944139.tar.gz chromium_src-c2d4449362cb38bfe492d7655885c4c5b3944139.tar.bz2 |
Fixed a few data races on reference counters.
BUG=18488
Review URL: http://codereview.chromium.org/215011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_marshaling.h')
-rw-r--r-- | chrome/browser/history/history_marshaling.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/history/history_marshaling.h b/chrome/browser/history/history_marshaling.h index b289228..947f966 100644 --- a/chrome/browser/history/history_marshaling.h +++ b/chrome/browser/history/history_marshaling.h @@ -19,7 +19,8 @@ namespace history { // Navigation ----------------------------------------------------------------- // Marshalling structure for AddPage. -class HistoryAddPageArgs : public base::RefCounted<HistoryAddPageArgs> { +class HistoryAddPageArgs + : public base::RefCountedThreadSafe<HistoryAddPageArgs> { public: HistoryAddPageArgs(const GURL& arg_url, base::Time arg_time, |