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

Unified Diff: ppapi/cpp/dev/ime_input_event_dev.cc

Issue 10421032: Coverity: Fix pass by value error in IMEInputEvent_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « ppapi/cpp/dev/ime_input_event_dev.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/ime_input_event_dev.cc
diff --git a/ppapi/cpp/dev/ime_input_event_dev.cc b/ppapi/cpp/dev/ime_input_event_dev.cc
index 99fe66d8a742563ad77b7ee4260b12eaa73147b5..9ddc16e913881cfe2f0247dfdb12552150ddac69 100644
--- a/ppapi/cpp/dev/ime_input_event_dev.cc
+++ b/ppapi/cpp/dev/ime_input_event_dev.cc
@@ -52,7 +52,7 @@ IMEInputEvent_Dev::IMEInputEvent_Dev(
const InstanceHandle& instance,
PP_InputEvent_Type type,
PP_TimeTicks time_stamp,
- Var text,
+ const Var& text,
const std::vector<uint32_t>& segment_offsets,
int32_t target_segment,
const std::pair<uint32_t, uint32_t>& selection) : InputEvent() {
« no previous file with comments | « ppapi/cpp/dev/ime_input_event_dev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698