author | Kaku Kuo <kaku@mozilla.com> |
Tue, 28 Mar 2017 18:12:49 +0800 | |
changeset 350200 | de184c8128d418b6c58e3f695dd9b4bff801ddb2 |
parent 350199 | 85866d2aa9f52c385e73324557e8e56436d9440a |
child 350201 | e6d27888cb6f4e00498f0f0324bb1a84d8139d32 |
push id | 39720 |
push user | tkuo@mozilla.com |
push date | Wed, 29 Mar 2017 03:23:42 +0000 |
treeherder | autoland@de184c8128d4 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jwwang |
bugs | 1351263 |
milestone | 55.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/media/Benchmark.cpp +++ b/dom/media/Benchmark.cpp @@ -55,18 +55,17 @@ VP9Benchmark::IsVP9DecodeFast() { Preferences::GetInt("media.benchmark.frames", 300), // frames to measure 1, // start benchmarking after decoding this frame. 8, // loop after decoding that many frames. TimeDuration::FromMilliseconds( Preferences::GetUint("media.benchmark.timeout", 1000)) }); estimiser->Run()->Then( - // Non-DocGroup version of AbstractThread::MainThread for utility function. - AbstractThread::MainThread(), __func__, + SystemGroup::AbstractMainThreadFor(TaskCategory::Other), __func__, [](uint32_t aDecodeFps) { if (XRE_IsContentProcess()) { dom::ContentChild* contentChild = dom::ContentChild::GetSingleton(); if (contentChild) { contentChild->SendNotifyBenchmarkResult(NS_LITERAL_STRING("VP9"), aDecodeFps); } } else {