summaryrefslogtreecommitdiff
path: root/deps/v8/third_party/inspector_protocol/lib/Object_h.template
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/third_party/inspector_protocol/lib/Object_h.template')
-rw-r--r--deps/v8/third_party/inspector_protocol/lib/Object_h.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/third_party/inspector_protocol/lib/Object_h.template b/deps/v8/third_party/inspector_protocol/lib/Object_h.template
index 4ccd88bdab..f6ffc57659 100644
--- a/deps/v8/third_party/inspector_protocol/lib/Object_h.template
+++ b/deps/v8/third_party/inspector_protocol/lib/Object_h.template
@@ -15,10 +15,10 @@ namespace {{namespace}} {
class {{config.lib.export_macro}} Object {
public:
- static std::unique_ptr<Object> parse(protocol::Value*, ErrorSupport*);
+ static std::unique_ptr<Object> fromValue(protocol::Value*, ErrorSupport*);
~Object();
- std::unique_ptr<protocol::DictionaryValue> serialize() const;
+ std::unique_ptr<protocol::DictionaryValue> toValue() const;
std::unique_ptr<Object> clone() const;
private:
explicit Object(std::unique_ptr<protocol::DictionaryValue>);