unchecked_malloc() for Skia on OSX.

On tcmalloc-based versions of Chromium, skia resets the global new
handler to prevent the oom-killer from kicking in.  Traditionally the
OSX developers have been agin this, because it's not thread-safe, and
we have questions about whether it's even the right thing to do.  This
change should be thread-safe because g_old_malloc is only set on the
main thread at startup.

As far as whether it's the right thing to do, I'm tired and want to
quit hearing about it.

Additionally, remove a bit of leftover pre-10.6 code.

BUG=103980,73751,117949


Review URL: https://chromiumcodereview.appspot.com/10908245

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157646 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 37b6f90ace46b5262f9bd07440e05ad482d31114
2 files changed
tree: cb9009eb3bcc3454e00349d87cf8ee96b0c1aa55
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/