| Index: test/cctest/test-debug.cc
|
| diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc
|
| index 9847c891e775d0a04b5274bc1589252dbb92dcfc..852c6d4db91189cdd53a61642cf911ee3a223255 100644
|
| --- a/test/cctest/test-debug.cc
|
| +++ b/test/cctest/test-debug.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2010 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -6313,8 +6313,7 @@ static void ExecuteScriptForContextCheck() {
|
| v8::Persistent<v8::Context> context_1;
|
| v8::Handle<v8::ObjectTemplate> global_template =
|
| v8::Handle<v8::ObjectTemplate>();
|
| - v8::Handle<v8::Value> global_object = v8::Handle<v8::Value>();
|
| - context_1 = v8::Context::New(NULL, global_template, global_object);
|
| + context_1 = v8::Context::New(NULL, global_template);
|
|
|
| // Default data value is undefined.
|
| CHECK(context_1->GetData()->IsUndefined());
|
| @@ -6379,11 +6378,11 @@ static void DebugEvalContextCheckMessageHandler(
|
| const int kBufferSize = 1000;
|
| uint16_t buffer[kBufferSize];
|
| const char* eval_command =
|
| - "{\"seq\":0,"
|
| - "\"type\":\"request\","
|
| - "\"command\":\"evaluate\","
|
| - "arguments:{\"expression\":\"debugger;\","
|
| - "\"global\":true,\"disable_break\":false}}";
|
| + "{\"seq\":0,"
|
| + "\"type\":\"request\","
|
| + "\"command\":\"evaluate\","
|
| + "\"arguments\":{\"expression\":\"debugger;\","
|
| + "\"global\":true,\"disable_break\":false}}";
|
|
|
| // Send evaluate command.
|
| v8::Debug::SendCommand(buffer, AsciiToUtf16(eval_command, buffer));
|
|
|