cros-asan: Fix crash in chromeos asan bot.

When upgrade clang to clang 3.5, we need
__asan_stack_malloc_0 in the asan_stub.

BUG=None

Review URL: https://codereview.chromium.org/151183007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250806 0039d316-1c4b-4281-b951-d872f2087c98
Changed RefCountedStaticMemory() to accept a void pointer.

Using a void pointer saves lots of redundant casting.

Also added RefCountedMemory front_as<type> which saves typing by not having to
wrap each call with a reinterpret_cast<>.

Review URL: https://codereview.chromium.org/126103003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250808 0039d316-1c4b-4281-b951-d872f2087c98
Introduce ADTSStreamParser. Factorize MP3StreamParser and tests.

Factorizes MP3StreamParser into MPEGAudioStreamParserBase for reuse
with a new ADTSStreamParser.  In the process, also factorizes the
MP3StreamParserTest into a new test helper StreamParserTest for
reuse with the ADTSStreamParserTest.

Introduces an adts_constants.{cc,h} to remove duplicate constants
across the AAC and ES ADTS parsers.  Fixes a channel layout bug in
the AAC parser.

sfx.adts test file will be landed manually in a separate change.

BUG=341648,340426
TEST=new unittests pass!
NOTRY=true

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250730

Review URL: https://codereview.chromium.org/120503006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250809 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250809
Revert 250798 "Revert of Read compositor VSync information from ..."

Broke compilation.

> Revert of Read compositor VSync information from platform, when possible (https://chromiumcodereview.appspot.com/138903025/)
> 
> Reason for revert:
> Reverting due to Windows crashes.  See:
> 
> http://crbug.com/343199
> 
> Original issue's description:
> > Read compositor VSync information from platform, when possible
> > 
> > The current query of VSync information through the GL context can be unreliable
> > on platforms that can dynamically disable vblanks, or multi-monitor setups.
> > Preferentially query the VSync information through the platform windowing
> > system (presently: XRandR on CrOS) when possible.
> > 
> > BUG=328953
> > TEST=local build, run on CrOS snow
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250250
> 
> TBR=oshima@chromium.org,piman@chromium.org,brianderson@chromium.org,sky@chromium.org,mukai@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=328953
> 
> Review URL: https://codereview.chromium.org/161413002

TBR=sheu@chromium.org

Review URL: https://codereview.chromium.org/161743002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250810 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250810