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

Unified Diff: chrome/browser/chromeos/synaptics_library.cc

Issue 329033: Fix compile failures in Chrome OS and Views builds. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « no previous file | chrome/browser/renderer_host/render_crash_handler_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/synaptics_library.cc
===================================================================
--- chrome/browser/chromeos/synaptics_library.cc (revision 30162)
+++ chrome/browser/chromeos/synaptics_library.cc (working copy)
@@ -36,11 +36,9 @@
if (CrosLibrary::loaded()) {
// This calls SetSynapticsParameter in the cros library which is
// potentially time consuming. So we run this on the FILE thread.
- MessageLoop* loop = ChromeThread::GetMessageLoop(ChromeThread::FILE);
- if (loop) {
- loop->PostTask(FROM_HERE, NewRunnableFunction(
- &SetSynapticsParameter, param, value));
- }
+ ChromeThread::PostTask(
+ ChromeThread::FILE, FROM_HERE,
+ NewRunnableFunction(&SetSynapticsParameter, param, value));
}
}
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_crash_handler_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698