DescriptionOilpan: Introduce class MainThreadOnly
In order to avoid listing up DOM classes used only by the main thread in ThreadState.h,
this CL introduces class MainThreadOnly. If a class X is used only by the main thread,
you can make X inherit from MainThreadOnly.
MainThreadOnly is just a hint for performance optimization.
There is no problem in not specifying MainThreadOnly.
Currently only Node and NodeList inhert from MainThreadOnly.
This CL removes USED_FROM_MULTIPLE_THREADS macros.
BUG=420515
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 5 (2 generated)
|