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

Unified Diff: chrome/browser/media_gallery/scoped_mtp_device_map_entry.cc

Issue 11442047: Media Galleries: Add more tests for media gallery names. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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 | « chrome/browser/media_gallery/media_file_system_registry_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_gallery/scoped_mtp_device_map_entry.cc
===================================================================
--- chrome/browser/media_gallery/scoped_mtp_device_map_entry.cc (revision 174038)
+++ chrome/browser/media_gallery/scoped_mtp_device_map_entry.cc (working copy)
@@ -25,7 +25,7 @@
return pool->IsRunningSequenceOnCurrentThread(media_sequence_token);
}
-base::SequencedTaskRunner* GetSequencedTaskRunner() {
+scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner() {
Lei Zhang 2012/12/20 01:33:55 If I don't do this, I get a crash in debug mode:
base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool();
base::SequencedWorkerPool::SequenceToken media_sequence_token =
pool->GetNamedSequenceToken(fileapi::kMediaTaskRunnerName);
« no previous file with comments | « chrome/browser/media_gallery/media_file_system_registry_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698