OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/web_view/client_initiated_frame_connection.h" | 5 #include "components/web_view/client_initiated_frame_connection.h" |
6 | 6 |
| 7 #include <utility> |
| 8 |
7 namespace web_view { | 9 namespace web_view { |
8 | 10 |
9 ClientInitiatedFrameConnection::ClientInitiatedFrameConnection( | 11 ClientInitiatedFrameConnection::ClientInitiatedFrameConnection( |
10 mojom::FrameClientPtr frame_client) | 12 mojom::FrameClientPtr frame_client) |
11 : frame_client_(frame_client.Pass()) {} | 13 : frame_client_(std::move(frame_client)) {} |
12 | 14 |
13 ClientInitiatedFrameConnection::~ClientInitiatedFrameConnection() {} | 15 ClientInitiatedFrameConnection::~ClientInitiatedFrameConnection() {} |
14 | 16 |
15 } // namespace web_view | 17 } // namespace web_view |
OLD | NEW |