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

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: Comments 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
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()));
}

Powered by Google App Engine
This is Rietveld 408576698