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

Unified Diff: tests/ppapi_proxy/event_example.cc

Issue 5974006: Convert srpc definitions from using int64 to using PP_Instance, PP_Module, an... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 10 years 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: tests/ppapi_proxy/event_example.cc
===================================================================
--- tests/ppapi_proxy/event_example.cc (revision 4034)
+++ tests/ppapi_proxy/event_example.cc (working copy)
@@ -29,7 +29,7 @@
// since the last request for "events".
class EventHandler : public pp::deprecated::ScriptableObject {
public:
- explicit EventHandler(int64_t instance)
+ explicit EventHandler(PP_Instance instance)
: instance_(instance),
events_() {
std::printf("EventHandler created.\n");
@@ -178,7 +178,7 @@
private:
// The resource number of the pp::Instance that created us (for use in
// output).
- int64_t instance_;
+ PP_Instance instance_;
// A string representing input events, exposed to JavaScript as "events".
// It contains a description of each input event that has happened since the
// last time the "events" JavaScript property was accessed.

Powered by Google App Engine
This is Rietveld 408576698