Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
Don't handle external UTF16 string
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Nov 6, 2014
1 parent 94229c7 commit d269503
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/string_bytes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,6 @@ bool StringBytes::GetExternalParts(Isolate* isolate,
*data = ext->data();
*len = ext->length();
return true;

} else if (str->IsExternal()) {
const String::ExternalStringResource* ext;
ext = str->GetExternalStringResource();
*data = reinterpret_cast<const char*>(ext->data());
*len = ext->length();
return true;
}

return false;
Expand Down

0 comments on commit d269503

Please sign in to comment.