Index: src/uri.h |
diff --git a/src/uri.h b/src/uri.h |
index 50ae1a5cfd4e22b0ac9516de0170294be6f8a340..1e73ddd3d22464a654404704e043a9420b77a9cc 100644 |
--- a/src/uri.h |
+++ b/src/uri.h |
@@ -61,13 +61,13 @@ Vector<const uc16> GetCharVector(Handle<String> string) { |
class URIUnescape : public AllStatic { |
public: |
template<typename Char> |
- static MaybeHandle<String> Unescape(Isolate* isolate, Handle<String> source); |
+ static Handle<String> Unescape(Isolate* isolate, Handle<String> source); |
private: |
static const signed char kHexValue['g']; |
template<typename Char> |
- static MaybeHandle<String> UnescapeSlow( |
+ static Handle<String> UnescapeSlow( |
Isolate* isolate, Handle<String> string, int start_index); |
static INLINE(int TwoDigitHex(uint16_t character1, uint16_t character2)); |
@@ -91,8 +91,7 @@ const signed char URIUnescape::kHexValue[] = { |
template<typename Char> |
-MaybeHandle<String> URIUnescape::Unescape(Isolate* isolate, |
- Handle<String> source) { |
+Handle<String> URIUnescape::Unescape(Isolate* isolate, Handle<String> source) { |
int index; |
{ DisallowHeapAllocation no_allocation; |
StringSearch<uint8_t, Char> search(isolate, STATIC_ASCII_VECTOR("%")); |
@@ -104,7 +103,7 @@ MaybeHandle<String> URIUnescape::Unescape(Isolate* isolate, |
template <typename Char> |
-MaybeHandle<String> URIUnescape::UnescapeSlow( |
+Handle<String> URIUnescape::UnescapeSlow( |
Isolate* isolate, Handle<String> string, int start_index) { |
bool one_byte = true; |
int length = string->length(); |