Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index 35b577e35a1857b086dda8f31635e0582a0d08ef..282ca2d5d86a63d86dd00b1eb4b43888c3289e6b 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -235,8 +235,8 @@ class GlobalHandles::Node { |
{ |
// Check that we are not passing a finalized external string to |
// the callback. |
- DCHECK(!object_->IsExternalAsciiString() || |
- ExternalAsciiString::cast(object_)->resource() != NULL); |
+ DCHECK(!object_->IsExternalOneByteString() || |
+ ExternalOneByteString::cast(object_)->resource() != NULL); |
DCHECK(!object_->IsExternalTwoByteString() || |
ExternalTwoByteString::cast(object_)->resource() != NULL); |
// Leaving V8. |