Commit b6ce7ce8 authored by yurys@chromium.org's avatar yurys@chromium.org

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
parent 0a384a70
......@@ -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());
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment