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

Unified Diff: chrome/browser/media_galleries/fileapi/native_media_file_util.cc

Issue 2871303004: Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome (Closed)
Patch Set: fixed build error Created 3 years, 7 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 | « chrome/browser/image_decoder.cc ('k') | chrome/browser/notifications/notification_platform_bridge_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/fileapi/native_media_file_util.cc
diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
index 810a26d892b1312eb4d18df076f6defed5a1c62d..7faa1c8661c7bf6d8f666619c7dd5d488b879b7f 100644
--- a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
+++ b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
@@ -27,7 +27,7 @@ namespace {
// Returns true if the current thread is capable of doing IO.
bool IsOnTaskRunnerThread(storage::FileSystemOperationContext* context) {
- return context->task_runner()->RunsTasksOnCurrentThread();
+ return context->task_runner()->RunsTasksInCurrentSequence();
}
base::File::Error IsMediaHeader(const char* buf, size_t length) {
« no previous file with comments | « chrome/browser/image_decoder.cc ('k') | chrome/browser/notifications/notification_platform_bridge_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698