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

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

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 | « no previous file | ppapi/cpp/dev/ime_input_event_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/ime_input_event_dev.h
diff --git a/ppapi/cpp/dev/ime_input_event_dev.h b/ppapi/cpp/dev/ime_input_event_dev.h
index b9cb750e29ada5e6f9154d891905461ca029a944..f9126aa4a1ba6517aaa69eaabdb6ba4eb7ff441f 100644
--- a/ppapi/cpp/dev/ime_input_event_dev.h
+++ b/ppapi/cpp/dev/ime_input_event_dev.h
@@ -53,7 +53,7 @@ class IMEInputEvent_Dev : public InputEvent {
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);
« no previous file with comments | « no previous file | ppapi/cpp/dev/ime_input_event_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698