Chromium Code Reviews
DescriptionCreate video and audio decoder threads on demand.
Instead of creating these worker threads when the decoder objects
are instantiated, we now do it when Initialize is called.
Doing this avoids spinning a video decoder thread for an audio tag.
BUG=114699, 116873
TEST=Thread count in the renderer process goes up by 3 and not 4 when an audio element is created.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=126077
Patch Set 1 #
Total comments: 4
Patch Set 2 : Switched to base::Bind() and reverted gyp change+new files #
Total comments: 23
Patch Set 3 : Address review comments #Patch Set 4 : Log an error when Initialize is called more than once. #
Total comments: 1
Messages
Total messages: 9 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||