Index: src/extensions/i18n/collator.cc |
=================================================================== |
--- src/extensions/i18n/collator.cc (revision 15486) |
+++ src/extensions/i18n/collator.cc (working copy) |
@@ -76,6 +76,7 @@ |
object->Dispose(isolate); |
} |
+ |
// Throws a JavaScript exception. |
static v8::Handle<v8::Value> ThrowUnexpectedObjectError() { |
// Returns undefined, and schedules an exception to be thrown. |
@@ -84,11 +85,13 @@ |
"that is not a Collator."))); |
} |
+ |
// When there's an ICU error, throw a JavaScript error with |message|. |
static v8::Handle<v8::Value> ThrowExceptionForICUError(const char* message) { |
return v8::ThrowException(v8::Exception::Error(v8::String::New(message))); |
} |
+ |
// static |
void Collator::JSInternalCompare( |
const v8::FunctionCallbackInfo<v8::Value>& args) { |