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

Unified Diff: ppapi/cpp/var.cc

Issue 4991006: Run Pepper unit tests in Native Client.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 1 month 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/var.cc
===================================================================
--- ppapi/cpp/var.cc (revision 66122)
+++ ppapi/cpp/var.cc (working copy)
@@ -61,6 +61,12 @@
needs_release_ = false;
}
+Var::Var(long i) {
+ var_.type = PP_VARTYPE_INT32;
+ var_.value.as_int = i;
+ needs_release_ = false;
+}
+
Var::Var(double d) {
var_.type = PP_VARTYPE_DOUBLE;
var_.value.as_double = d;
« no previous file with comments | « ppapi/cpp/var.h ('k') | ppapi/tests/test_case.html » ('j') | ppapi/tests/test_case.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698