Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: components/web_view/local_find_options.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | components/web_view/navigation_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/local_find_options.h" 5 #include "components/web_view/local_find_options.h"
6 6
7 namespace mojo { 7 namespace mojo {
8 8
9 web_view::mojom::FindOptionsPtr 9 web_view::mojom::FindOptionsPtr
10 TypeConverter<web_view::mojom::FindOptionsPtr, web_view::LocalFindOptions>:: 10 TypeConverter<web_view::mojom::FindOptionsPtr, web_view::LocalFindOptions>::
11 Convert(const web_view::LocalFindOptions& input) { 11 Convert(const web_view::LocalFindOptions& input) {
12 web_view::mojom::FindOptionsPtr output = web_view::mojom::FindOptions::New(); 12 web_view::mojom::FindOptionsPtr output = web_view::mojom::FindOptions::New();
13 output->forward = input.forward; 13 output->forward = input.forward;
14 output->continue_last_find = input.continue_last_find; 14 output->continue_last_find = input.continue_last_find;
15 return output.Pass(); 15 return output;
16 } 16 }
17 17
18 } // namespace mojo 18 } // namespace mojo
OLDNEW
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | components/web_view/navigation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698