Validate allocation size in PoolAllocator. Note that I am planning to get rid of PoolAllocator entirely.
Validate allocation size in PoolAllocator.
Note that I am planning to get rid of PoolAllocator entirely.

BUG=crbug 179654

Review URL: https://codereview.appspot.com/8662046

git-svn-id: 2a1ef23f1c4b6a1dbccd5f9514022461535c55c0@2225 736b8ea6-26fd-11df-bfd4-992fa37f6226

themusicgod1/angleproject,cantren/angleproject,xin3liang/platform_external_chromium_org_third_party_angle,ehsan/angle,cvsuser-chromium/chromium-third-party_angle_dx11,themusicgod1/angleproject,jgcaaprom/android_external_chromium_org_third_party_angle,MSOpenTech/angle-win8.0,KTXSoftware/angleproject,ehsan/angle,RepublicMaster/angleproject,RepublicMaster/angleproject,themusicgod1/angleproject,xin3liang/platform_external_chromium_org_third_party_angle_dx11,xin3liang/platform_external_chromium_org_third_party_angle,xuxiandi/angleproject,MIPS/external-chromium_org-third_party-angle,stammen/angleproject,android-ia/platform_external_chromium_org_third_party_angle,pombreda/angleproject,RepublicMaster/angleproject,cantren/angleproject,ehsan/angle,KTXSoftware/angleproject,xuxiandi/angleproject,pombreda/angleproject,xin3liang/platform_external_chromium_org_third_party_angle_dx11,KalebDark/angleproject,MIPS/external-chromium_org-third_party-angle_dx11,cantren/angleproject,MIPS/external-chromium_org-third_party-angle_dx11,xuxiandi/angleproject,KalebDark/angleproject,shairai/angleproject,MSOpenTech/angle-win8.0,cvsuser-chromium/chromium-third-party_angle_dx11,jgcaaprom/android_external_chromium_org_third_party_angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,MIPS/external-chromium_org-third_party-angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,pombreda/angleproject,shairai/angleproject,shairai/angleproject,android-ia/platform_external_chromium_org_third_party_angle,MIPS/external-chromium_org-third_party-angle_dx11,cvsuser-chromium/chromium-third-party_angle_dx11,MIPS/external-chromium_org-third_party-angle,android-ia/platform_external_chromium_org_third_party_angle_dx11,xin3liang/platform_external_chromium_org_third_party_angle,MIPS/external-chromium_org-third_party-angle_dx11,xin3liang/platform_external_chromium_org_third_party_angle_dx11,jgcaaprom/android_external_chromium_org_third_party_angle,xuxiandi/angleproject,themusicgod1/angleproject,KTXSoftware/angleproject,stammen/angleproject,android-ia/platform_external_chromium_org_third_party_angle_dx11,KalebDark/angleproject,jgcaaprom/android_external_chromium_org_third_party_angle,cvsuser-chromium/chromium-third-party_angle_dx11,vvuk/angle-old,vvuk/angle-old,vvuk/angle-old,pombreda/angleproject,MSOpenTech/angle-win8.0,geekboxzone/lollipop_external_chromium_org_third_party_angle,ehsan/angle,android-ia/platform_external_chromium_org_third_party_angle_dx11,shairai/angleproject,KalebDark/angleproject,MSOpenTech/angle-win8.0,stammen/angleproject,MIPS/external-chromium_org-third_party-angle,android-ia/platform_external_chromium_org_third_party_angle,KTXSoftware/angleproject,vvuk/angle-old,RepublicMaster/angleproject,stammen/angleproject,xin3liang/platform_external_chromium_org_third_party_angle_dx11,android-ia/platform_external_chromium_org_third_party_angle,cantren/angleproject,android-ia/platform_external_chromium_org_third_party_angle_dx11,xin3liang/platform_external_chromium_org_third_party_angle,KTXSoftware/angleproject