summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
diff options
context:
space:
mode:
authorgarianov@google.com <garianov@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-19 18:00:13 +0000
committergarianov@google.com <garianov@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-19 18:00:13 +0000
commit5000c84d1a3dcea7c96ad81d27993f1e3aecb73d (patch)
tree7b88965c2c51bd29a2cf2f9dfcf4b8a8bc231f93 /ppapi/cpp
parent908e0805e70c87a898f536efa92ef2d76e41fd6d (diff)
downloadchromium_src-5000c84d1a3dcea7c96ad81d27993f1e3aecb73d.zip
chromium_src-5000c84d1a3dcea7c96ad81d27993f1e3aecb73d.tar.gz
chromium_src-5000c84d1a3dcea7c96ad81d27993f1e3aecb73d.tar.bz2
Remove pp::Var(int)
Review URL: http://codereview.chromium.org/5215002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r--ppapi/cpp/var.cc6
-rw-r--r--ppapi/cpp/var.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/ppapi/cpp/var.cc b/ppapi/cpp/var.cc
index a6f30ca..5ade9b0 100644
--- a/ppapi/cpp/var.cc
+++ b/ppapi/cpp/var.cc
@@ -61,12 +61,6 @@ Var::Var(int32_t i) {
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;
diff --git a/ppapi/cpp/var.h b/ppapi/cpp/var.h
index d67eb24..9109fef 100644
--- a/ppapi/cpp/var.h
+++ b/ppapi/cpp/var.h
@@ -24,7 +24,6 @@ class Var {
Var(Null); // PP_Var of type Null.
Var(bool b);
Var(int32_t i);
- Var(long i);
Var(double d);
Var(const char* utf8_str); // Must be encoded in UTF-8.
Var(const std::string& utf8_str); // Must be encoded in UTF-8.