From 1d414cd99c64b57855a7e24ae2f362ffe239b943 Mon Sep 17 00:00:00 2001 From: "mstarzinger@chromium.org" Date: Wed, 3 Aug 2011 12:23:55 +0000 Subject: [PATCH] Fix presubmit error. TBR=svenpanne@chromium.org Review URL: http://codereview.chromium.org/7508016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8814 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/bootstrapper.cc | 2 +- src/runtime.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index 5ad3820..a5cb555 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -1195,7 +1195,7 @@ void Genesis::InitializeExperimentalGlobal() { Isolate* isolate = this->isolate(); Handle global = Handle(global_context()->global()); - // TODO (mstarzinger): Move this into Genesis::InitializeGlobal once we no + // TODO(mstarzinger): Move this into Genesis::InitializeGlobal once we no // longer need to live behind a flag, so WeakMap gets added to the snapshot. if (FLAG_harmony_weakmaps) { // -- W e a k M a p Handle weakmap_fun = diff --git a/src/runtime.cc b/src/runtime.cc index 5367c5f..ef96924 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -650,7 +650,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_WeakMapGet) { NoHandleAllocation ha; ASSERT(args.length() == 2); CONVERT_ARG_CHECKED(JSWeakMap, weakmap, 0); - // TODO (mstarzinger): Currently we cannot use JSProxy objects as keys + // TODO(mstarzinger): Currently we cannot use JSProxy objects as keys // because they cannot be cast to JSObject to get an identity hash code. CONVERT_ARG_CHECKED(JSObject, key, 1); return weakmap->table()->Lookup(*key); @@ -661,7 +661,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_WeakMapSet) { HandleScope scope(isolate); ASSERT(args.length() == 3); CONVERT_ARG_CHECKED(JSWeakMap, weakmap, 0); - // TODO (mstarzinger): See Runtime_WeakMapGet above. + // TODO(mstarzinger): See Runtime_WeakMapGet above. CONVERT_ARG_CHECKED(JSObject, key, 1); Handle value(args[2]); Handle table(weakmap->table()); -- 2.7.4