diff options
author | dcheng <dcheng@chromium.org> | 2015-12-18 09:48:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 17:48:52 +0000 |
commit | e59eca16010c109a5e3e4922189c8b264d34caa9 (patch) | |
tree | 838815399c6364a99a465938df9978aeaf75c766 /extensions/renderer/module_system.h | |
parent | 5100baf1eac806abbdaaf8002887aacf652f34e5 (diff) | |
download | chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.zip chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.tar.gz chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.tar.bz2 |
Convert Pass()→std::move() in //extensions
BUG=557422
Review URL: https://codereview.chromium.org/1537893002
Cr-Commit-Position: refs/heads/master@{#366120}
Diffstat (limited to 'extensions/renderer/module_system.h')
-rw-r--r-- | extensions/renderer/module_system.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/renderer/module_system.h b/extensions/renderer/module_system.h index e8c2601..45e9c44 100644 --- a/extensions/renderer/module_system.h +++ b/extensions/renderer/module_system.h @@ -8,6 +8,7 @@ #include <map> #include <set> #include <string> +#include <utility> #include <vector> #include "base/compiler_specific.h" @@ -141,7 +142,7 @@ class ModuleSystem : public ObjectBackedNativeHandler, // Passes exceptions to |handler| rather than console::Fatal. void SetExceptionHandlerForTest(scoped_ptr<ExceptionHandler> handler) { - exception_handler_ = handler.Pass(); + exception_handler_ = std::move(handler); } protected: |