Fix some presubmit errors.

TBR=sgjesse@chromium.org
Review URL: http://codereview.chromium.org/400001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3311 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yurys@chromium.org 2009-11-16 16:58:09 +00:00
parent 0a384a708d
commit b6ce7ce8a3
2 changed files with 2 additions and 2 deletions

View File

@ -941,7 +941,7 @@ Handle<Context> Top::GetCallingGlobalContext() {
}
}
}
#endif // ENABLE_DEBUGGER_SUPPORT
#endif // ENABLE_DEBUGGER_SUPPORT
if (it.done()) return Handle<Context>::null();
JavaScriptFrame* frame = it.frame();
Context* context = Context::cast(frame->context());

View File

@ -5616,7 +5616,7 @@ v8::Handle<v8::Context> debugger_context;
static v8::Handle<v8::Value> NamedGetterWithCallingContextCheck(
v8::Local<v8::String> name,
const v8::AccessorInfo& info) {
CHECK(strcmp(*v8::String::AsciiValue(name), "a") == 0);
CHECK_EQ(0, strcmp(*v8::String::AsciiValue(name), "a"));
v8::Handle<v8::Context> current = v8::Context::GetCurrent();
CHECK(current == debugee_context);
CHECK(current != debugger_context);