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

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

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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/fullscreen_dev.cc ('k') | ppapi/cpp/dev/message_loop_dev.h » ('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.cc
diff --git a/ppapi/cpp/dev/ime_input_event_dev.cc b/ppapi/cpp/dev/ime_input_event_dev.cc
index bc1f387baa469339a3209fff4b3a0bc74b218d82..6f920e9e80fc0c4d14a24c7535649ed509f7507f 100644
--- a/ppapi/cpp/dev/ime_input_event_dev.cc
+++ b/ppapi/cpp/dev/ime_input_event_dev.cc
@@ -38,7 +38,7 @@ IMEInputEvent_Dev::IMEInputEvent_Dev(const InputEvent& event) : InputEvent() {
Var IMEInputEvent_Dev::GetText() const {
if (!has_interface<PPB_IMEInputEvent_Dev>())
return Var();
- return Var(Var::PassRef(),
+ return Var(PASS_REF,
get_interface<PPB_IMEInputEvent_Dev>()->GetText(pp_resource()));
}
« no previous file with comments | « ppapi/cpp/dev/fullscreen_dev.cc ('k') | ppapi/cpp/dev/message_loop_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698