Index: src/uri.h |
diff --git a/src/uri.h b/src/uri.h |
index e41e8a29e18635403f008bc1fe823a9b1164fc73..1a0a61fbc2631c3cb2674e1a66a881d91ed83e61 100644 |
--- a/src/uri.h |
+++ b/src/uri.h |
@@ -13,12 +13,12 @@ namespace internal { |
class Uri : public AllStatic { |
public: |
- static Object* EncodeUri(Isolate* isolate, Handle<String> uri) { |
+ static MaybeHandle<String> EncodeUri(Isolate* isolate, Handle<String> uri) { |
return Encode(isolate, uri, true); |
} |
- static Object* EncodeUriComponent(Isolate* isolate, |
- Handle<String> component) { |
+ static MaybeHandle<String> EncodeUriComponent(Isolate* isolate, |
+ Handle<String> component) { |
return Encode(isolate, component, false); |
} |
@@ -28,7 +28,8 @@ class Uri : public AllStatic { |
// unescape |
private: |
- static Object* Encode(Isolate* isolate, Handle<String> uri, bool is_uri); |
+ static MaybeHandle<String> Encode(Isolate* isolate, Handle<String> uri, |
+ bool is_uri); |
// decode |
}; |