Bug 966543 - null check mSurface in MacIOSurfaceTextureHostOGL. r=nical
Bug 966543 - Group implementations in MacIOSurfaceTextureHost. r=nical
Bug 970250. Add the ability to set a display port on scroll frames that aren't the root scroll frame to reftests. r=dbaron
Bug 966510. Add reftest.
Bug 972099: Set the value for preference gfx.color_management.force_srgb in the profile, rather than in the JS scripts afterwards, as it's too late by then.  r=ahalberstadt
b=973374 complete speex_resampler_reset_mem r=jmspeex

sample_frac_num is the array most likely to be non-zero after resampling a
previous stream, but the other arrays can also be left at non-zero values
in other situations.

--HG--
extra : rebase_source : dfd3974f051ff0b1794a937d712dda185352f7d5
b=972983 use enum for BaseProxyHandler::Action values r=bholley

"inline" const static/class member initialization left missing symbols with gcc 4.7.3

--HG--
extra : rebase_source : 9e119ae9946e893b6113b838d49ab6384b472a99
Bug 973379 - GStreamerReader::ReadMetadata()'s element config loop should break on error to avoid timeout. r=edwin
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
Fix a hang by using a dedicated state bit instead of overloading NS_FRAME_IS_DIRTY. Bug 964821, r=roc
Bug 968016 - Call MediaDecoderStateMachine::Init() in MediaSourceDecoder::Load(), like MediaDecoder. r=kinetik

Load() is called by the media load algorithm, and this behaviour matches the
existing MediaDecoder. Calling MediaDecoderStateMachine::Init() ensures that
we'll be able to init the state machine properly (i.e. its soon to be added
shared thread pools) before we decode.
Bug 968016 - Add a parameter to SharedThreadPool to control the number of threads in the pool. r=kinteik
Bug 968016 - Implement nsThreadPool::IsOnCurrentThread() to return true when the current thread is in the thread pool. r=bsmedberg

This is so that we can assert that media decode threads are in the decode thread pool.
Bug 968016 - Add methods to SharedThreadPools and MediaTaskQueues to report whether we're running on one of their threads. r=kinetik
Bug 968016 - Use SharedThreadPool instead of manually managed threads for the media decoding. r=kinetik
Bug 968016 - Use a SharedThreadPool of size 1 for the Media State Machine thread. r=kinetik

This makes it easy to share the state machine thread, and for it to shut down
automatically when the last reference is dropped to it.
Bug 968016 - Add threadStackSize attribute to nsIThreadPool. r=bsmedberg
Bug 968016 - Ensure all threads in media SharedThreadPools are joined in MediaShutdownManager's xpcom shutdown listener. r=kinetik
Bug 968016 - Call MediaDecoderReader::OnDecodeThreadStart/Finish() in DecodeLoop(). r=kinetik
Bug 968016 - Wait until decode has finished before releasing resources when decoder becomes dormant. r=kinetik