diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-21 07:01:10 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-21 07:01:10 +0000 |
commit | fb7ec648730a491a9342fe4200bc5304cd72bbc4 (patch) | |
tree | 757e2f6f1a3d6f2e2defc828c6e335ecc05f3122 /ppapi/cpp/var.cc | |
parent | 102d4efc86b9a546dfba16b9eb781ad2de03bed6 (diff) | |
download | chromium_src-fb7ec648730a491a9342fe4200bc5304cd72bbc4.zip chromium_src-fb7ec648730a491a9342fe4200bc5304cd72bbc4.tar.gz chromium_src-fb7ec648730a491a9342fe4200bc5304cd72bbc4.tar.bz2 |
PPAPI: Remove out-dated or unnecessary TODOs from public files.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9731003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/var.cc')
-rw-r--r-- | ppapi/cpp/var.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ppapi/cpp/var.cc b/ppapi/cpp/var.cc index 7748ff2..881ce32 100644 --- a/ppapi/cpp/var.cc +++ b/ppapi/cpp/var.cc @@ -219,9 +219,6 @@ std::string Var::DebugString() const { } else if (is_bool()) { snprintf(buf, sizeof(buf), AsBool() ? "Var(true)" : "Var(false)"); } else if (is_int()) { - // Note that the following static_cast is necessary because - // NativeClient's int32_t is actually "long". - // TODO(sehr,polina): remove this after newlib is changed. snprintf(buf, sizeof(buf), "Var(%d)", static_cast<int>(AsInt())); } else if (is_double()) { snprintf(buf, sizeof(buf), "Var(%f)", AsDouble()); @@ -236,8 +233,6 @@ std::string Var::DebugString() const { } snprintf(buf, sizeof(buf), format, str.c_str()); } else if (is_array_buffer()) { - // TODO(dmichael): We could make this dump hex. Maybe DebugString should be - // virtual? snprintf(buf, sizeof(buf), "Var(ARRAY_BUFFER)"); } else if (is_object()) { snprintf(buf, sizeof(buf), "Var(OBJECT)"); |