summaryrefslogtreecommitdiffstats
path: root/base/values.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 21:17:59 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 21:17:59 +0000
commit9b5f56b43a17fbee9f595a42f4733b4ccb1b7095 (patch)
treed3e5067ecf4173cc49909bdd16e0eab354f2c918 /base/values.h
parentdb3fecb2745b58baaa1fec2f170453e75746fc20 (diff)
downloadchromium_src-9b5f56b43a17fbee9f595a42f4733b4ccb1b7095.zip
chromium_src-9b5f56b43a17fbee9f595a42f4733b4ccb1b7095.tar.gz
chromium_src-9b5f56b43a17fbee9f595a42f4733b4ccb1b7095.tar.bz2
Reverts debugging code added in hopes of tracking crash. This also
reverts 97997 as it was only needed with this debugging code. I'm TBRing this as it's just a revert (well, two reverts). BUG=91396 TEST=none R=brettw@chromium.org,mnissler@chromium.org,ben@chromium.org TBR=brettw@chromium.org,mnissler@chromium.org,ben@chromium.org Review URL: http://codereview.chromium.org/7714038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values.h')
-rw-r--r--base/values.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/base/values.h b/base/values.h
index d33d031..a30791b 100644
--- a/base/values.h
+++ b/base/values.h
@@ -113,28 +113,15 @@ class BASE_EXPORT Value {
// NULLs are considered equal but different from Value::CreateNullValue().
static bool Equals(const Value* a, const Value* b);
-#if !defined(OS_CHROMEOS)
- // NOTE: We pass Value from libcros tp Chrome, so changing the size of Value
- // breaks it. TODO(stevenjb): Eliminate that dependency (crosbug.com/19576).
- // TODO(sky) bug 91396: remove this when we figure out 91396.
- // If true crash when deleted.
- void set_check_on_delete(bool value) { check_on_delete_ = value; }
-#else
- void set_check_on_delete(bool value) {}
-#endif
-
protected:
// This isn't safe for end-users (they should use the Create*Value()
// static methods above), but it's useful for subclasses.
explicit Value(Type type);
private:
- Type type_;
+ Value();
-#if !defined(OS_CHROMEOS)
- // See description above setter.
- bool check_on_delete_;
-#endif
+ Type type_;
DISALLOW_COPY_AND_ASSIGN(Value);
};