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

Unified Diff: chrome/common/extensions/manifest_handlers/automation.cc

Issue 2141753002: [Extensions] Code cleanup - const &s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/manifest_handlers/automation.cc
diff --git a/chrome/common/extensions/manifest_handlers/automation.cc b/chrome/common/extensions/manifest_handlers/automation.cc
index b53ab0c968020a145d22fd50f2894287d466407b..113cc74df37a071bbc3fd13f821a53a4ac15df59 100644
--- a/chrome/common/extensions/manifest_handlers/automation.cc
+++ b/chrome/common/extensions/manifest_handlers/automation.cc
@@ -306,10 +306,9 @@ AutomationInfo::AutomationInfo() : desktop(false), interact(false) {
}
AutomationInfo::AutomationInfo(bool desktop,
- const URLPatternSet matches,
+ const URLPatternSet& matches,
bool interact)
- : desktop(desktop), matches(matches), interact(interact) {
-}
+ : desktop(desktop), matches(matches), interact(interact) {}
AutomationInfo::~AutomationInfo() {
}

Powered by Google App Engine
This is Rietveld 408576698