| Index: third_party/inspector_protocol/lib/Maybe_h.template
|
| diff --git a/third_party/inspector_protocol/lib/Maybe_h.template b/third_party/inspector_protocol/lib/Maybe_h.template
|
| index cd0dfbdf2e10c9e3b52ec0ba7baccf3744481ba9..71593acd0e553d737e6fd9a623bf1874c35298ee 100644
|
| --- a/third_party/inspector_protocol/lib/Maybe_h.template
|
| +++ b/third_party/inspector_protocol/lib/Maybe_h.template
|
| @@ -21,7 +21,7 @@ public:
|
| T* fromJust() const { DCHECK(m_value); return m_value.get(); }
|
| T* fromMaybe(T* defaultValue) const { return m_value ? m_value.get() : defaultValue; }
|
| bool isJust() const { return !!m_value; }
|
| - std::unique_ptr<T> takeJust() { DCHECK(m_value); return m_value.release(); }
|
| + std::unique_ptr<T> takeJust() { DCHECK(m_value); return std::move(m_value); }
|
| private:
|
| std::unique_ptr<T> m_value;
|
| };
|
|
|