Fix sending log messages from GPU child threads

This fixes a problem with sending log messages from children threads of the GPU
process. In GPU process the message goes through GpuProcessLogMessageHandler()
and to ChildThread::Send(), but there it would fail on
DCHECK(MessageLoop::current() == message_loop()), try to output another
log message about it, and since the handler is overriden, it would go back to
GpuProcessLogMessageHandler, and back again to ChildThread::Send() and thus
recurse until eventually dying silently due to stack overflow.

BUG=
TEST=manual run of a GPU child thread


Review URL: http://codereview.chromium.org/9812022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133824 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed