On Thu, Apr 20, 2017 at 11:13 PM, Bevis Tseng <
bts...@mozilla.com> wrote:
>
>
> On Thu, Apr 20, 2017 at 10:15 AM, Bevis Tseng <
bts...@mozilla.com> wrote:
>
>> A soft reminder of using AbstractThread::GetCurrent()/MainThread()
>> after some design change for Quantum-DOM.
>>
>> If this message/callback is to be handled on *the main thread of the
>> content process*, please use the replacement called AbstractMainThreadFor
>> <
https://wiki.mozilla.org/Quantum/DOM#AbstractThread::MainThread>
>> instead.
>>
>> If you're in background thread or not in content process, you are totally
>> fine to use AbstractThread::GetCurrent()/MainThread().
>>
>> Note: Precisely speaking, AbstractThread::MainThread() can be used in
> the main thread of chrome process instead.
> It shall never been used in background thread. Hope it was not misleading
> in previous email.
>
P.S. No more explanation at midnight to make thing worse. :/