Fix the build when use_glib is set to 0.

use_glib=0 can work on some embedded setup that doesn't use glib.

Review URL: https://codereview.chromium.org/387623002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283465 0039d316-1c4b-4281-b951-d872f2087c98
parent 2b7bf5ef
......@@ -672,7 +672,7 @@ void MessageLoopForUI::RemoveObserver(Observer* observer) {
}
#endif // defined(OS_WIN)
#if defined(USE_OZONE) || (defined(OS_CHROMEOS) && !defined(USE_GLIB))
#if defined(USE_OZONE) || (defined(USE_X11) && !defined(USE_GLIB))
bool MessageLoopForUI::WatchFileDescriptor(
int fd,
bool persistent,
......
......@@ -559,7 +559,7 @@ class BASE_EXPORT MessageLoopForUI : public MessageLoop {
void RemoveObserver(Observer* observer);
#endif
#if defined(USE_OZONE) || (defined(OS_CHROMEOS) && !defined(USE_GLIB))
#if defined(USE_OZONE) || (defined(USE_X11) && !defined(USE_GLIB))
// Please see MessagePumpLibevent for definition.
bool WatchFileDescriptor(
int fd,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment