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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc

Issue 10386080: Rename nacl::RefCounted to nacl::RefCountedThreadSafe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License bump 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
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc
index 40d4bf9dad254bb04bf74c897212cd63b907d6ff..20209091540f59e3517f8647ce58f2ed98de2231 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.cc
@@ -411,11 +411,6 @@ void PluginInputEvent::Init(const InputEventData& input_event_data,
character_text_ = character_text;
}
-PluginInputEvent::~PluginInputEvent() {
- // Release the character text. This is a no-op if it's not a string.
- PPBVarInterface()->Release(character_text_);
-}
-
PP_InputEvent_Type PluginInputEvent::GetType() const {
return input_event_data_.event_type;
}
@@ -474,4 +469,9 @@ uint32_t PluginInputEvent::GetUsbKeyCode() const {
return input_event_data_.usb_key_code;
}
+PluginInputEvent::~PluginInputEvent() {
+ // Release the character text. This is a no-op if it's not a string.
+ PPBVarInterface()->Release(character_text_);
+}
+
} // namespace ppapi_proxy

Powered by Google App Engine
This is Rietveld 408576698