base/json: Get rid of static initializer in JSONReader.

Convert kInvalidToken to a static function in Token class called CreateInvalidToken().

This should get rid of the problem with the static initialization.

BUG=94925
TEST=base_unittests --gtest_filter=JSON*

R=tony@chromium.org

Review URL: http://codereview.chromium.org/7756022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99200 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 249153fc4daad5833679a22d26291324384e8175
2 files changed
tree: 86b1fe74363f061227a5843f9004f31e43b489a2
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/