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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.cc

Issue 670623002: Change base::TickClock to a ref counted class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio_redesign
Patch Set: y Created 6 years, 2 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 | « content/renderer/media/render_media_log.cc ('k') | extensions/browser/api/cast_channel/logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/cast_channel_api.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.cc b/extensions/browser/api/cast_channel/cast_channel_api.cc
index 9d711a48c0c7910804a435ce46cd76f4fa3ae8c6..907a036c69210d6306afeda46f1fb1f548e79071 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_api.cc
@@ -108,7 +108,7 @@ bool IsValidConnectInfoIpAddress(const ConnectInfo& connect_info) {
CastChannelAPI::CastChannelAPI(content::BrowserContext* context)
: browser_context_(context),
logger_(
- new Logger(scoped_ptr<base::TickClock>(new base::DefaultTickClock),
+ new Logger(scoped_refptr<base::TickClock>(new base::DefaultTickClock),
base::TimeTicks::UnixEpoch())) {
DCHECK(browser_context_);
}
« no previous file with comments | « content/renderer/media/render_media_log.cc ('k') | extensions/browser/api/cast_channel/logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698