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

Unified Diff: chrome/browser/history/history_marshaling.h

Issue 215011: Fixed a few data races on reference counters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/history/history_marshaling.h
===================================================================
--- chrome/browser/history/history_marshaling.h (revision 26451)
+++ chrome/browser/history/history_marshaling.h (working copy)
@@ -19,7 +19,8 @@
// 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,

Powered by Google App Engine
This is Rietveld 408576698