commit | f47bf5ae6af56abacb50c4184b3ecebeac015ed7 | [log] [tgz] |
---|---|---|
author | kseo@webkit.org <kseo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Aug 01 00:03:10 2013 +0000 |
committer | kseo@webkit.org <kseo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Aug 01 00:03:10 2013 +0000 |
tree | 2cdcebda9a92f18553bc4746d7e46c44cb19edfb | |
parent | 2396eba57c88ff216ef2c23bdd49fe6529330787 [diff] |
Replace CRASH() on overflow with Checked<> https://bugs.webkit.org/show_bug.cgi?id=119327 Reviewed by Oliver Hunt. Use a checked type that allows us to automate bound checks. We use a non-recording Checked<> to keep the behavior. No behavior change, no new tests needed. * dom/Text.cpp: (WebCore::Text::wholeText): * platform/audio/AudioArray.h: (WebCore::AudioArray::allocate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153548 268f45cc-cd09-0410-ab3c-d52691b4dbfc