Fix potential assertion failure in ConvertCase.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 11 Nov 2013 14:51:56 +0000 (14:51 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 11 Nov 2013 14:51:56 +0000 (14:51 +0000)
commitc304afe54d27bb65e530a60ff8df2eea517f124c
tree2c15cb08f42e000f1d8c3c44472713facde038a9
parentc6841f11803e10a3a48d87b972205d3f267cae86
Fix potential assertion failure in ConvertCase.

IsOneByteRepresentationUnderneath requires the string to be flat, which is not
guaranteed in this case.  Using IsOneByteRepresentation is sufficient here.

R=mvstanton@chromium.org
BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc