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

Unified Diff: chrome/browser/accessibility_events.h

Issue 6733043: Coverity: Pass parameters by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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/browser/accessibility_events.h
diff --git a/chrome/browser/accessibility_events.h b/chrome/browser/accessibility_events.h
index 47d50fba8e43685f9be32be23d2b9185479e0aab..e739bd5c53e8c5b73d8f62d95f21c530ad37b550 100644
--- a/chrome/browser/accessibility_events.h
+++ b/chrome/browser/accessibility_events.h
@@ -193,7 +193,8 @@ class AccessibilityTextBoxInfo : public AccessibilityControlInfo {
virtual void SerializeToDict(DictionaryValue* dict) const;
- void SetValue(std::string value, int selection_start, int selection_end) {
+ void SetValue(
+ const std::string& value, int selection_start, int selection_end) {
value_ = value;
selection_start_ = selection_start;
selection_end_ = selection_end;
« no previous file with comments | « chrome/browser/accessibility/browser_accessibility_win.cc ('k') | chrome/browser/automation/testing_automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698