diff options
author | limasdf <limasdf@gmail.com> | 2015-12-17 17:36:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 01:37:16 +0000 |
commit | 704a902182dd1ba3b315563a6a65a7eb107ece79 (patch) | |
tree | 584e650445eed56fef7a5dd4693e55ed90bf56e0 /extensions/common/test_util.h | |
parent | a960829376718133c93b1699a997b875e538a262 (diff) | |
download | chromium_src-704a902182dd1ba3b315563a6a65a7eb107ece79.zip chromium_src-704a902182dd1ba3b315563a6a65a7eb107ece79.tar.gz chromium_src-704a902182dd1ba3b315563a6a65a7eb107ece79.tar.bz2 |
Use rvalue reference instead of ExtensionBuilder::pass()
C++ 11 enables rvalue reference with std::move() so that removing legacy ListBuilder::Pass().
BUG=563649
TBR=thankis@chromium.org
Review URL: https://codereview.chromium.org/1511103003
Cr-Commit-Position: refs/heads/master@{#365969}
Diffstat (limited to 'extensions/common/test_util.h')
-rw-r--r-- | extensions/common/test_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/common/test_util.h b/extensions/common/test_util.h index 0f02ac0..7220399 100644 --- a/extensions/common/test_util.h +++ b/extensions/common/test_util.h @@ -16,10 +16,10 @@ class ExtensionBuilder; namespace test_util { // Adds an extension manifest to a builder. -ExtensionBuilder& BuildExtension(ExtensionBuilder& builder); +ExtensionBuilder BuildExtension(ExtensionBuilder builder); // Adds an app manifest to a builder. -ExtensionBuilder& BuildApp(ExtensionBuilder& builder); +ExtensionBuilder BuildApp(ExtensionBuilder builder); // Creates an extension instance that can be attached to an ExtensionFunction // before running it. |