| Index: runtime/vm/log_test.cc
|
| diff --git a/runtime/vm/log_test.cc b/runtime/vm/log_test.cc
|
| index 370fefc2f81cef9b3fde8c28324214c2dab3ffdd..ba2251ed74876825bd8d405911a0a2c67410c2dc 100644
|
| --- a/runtime/vm/log_test.cc
|
| +++ b/runtime/vm/log_test.cc
|
| @@ -47,8 +47,7 @@ class LogTestHelper : public AllStatic {
|
|
|
| TEST_CASE(Log_Macro) {
|
| test_output_ = NULL;
|
| - Isolate* isolate = Isolate::Current();
|
| - Log* log = isolate->Log();
|
| + Log* log = thread->Log();
|
| LogTestHelper::SetPrinter(log, TestPrinter);
|
|
|
| ISL_Print("Hello %s", "World");
|
| @@ -72,15 +71,13 @@ TEST_CASE(Log_Block) {
|
| test_output_ = NULL;
|
| Log* log = new Log(TestPrinter);
|
|
|
| - Isolate* isolate = Isolate::Current();
|
| -
|
| EXPECT_EQ(reinterpret_cast<const char*>(NULL), test_output_);
|
| {
|
| - LogBlock ba(isolate, log);
|
| + LogBlock ba(thread, log);
|
| log->Print("APPLE");
|
| EXPECT_EQ(reinterpret_cast<const char*>(NULL), test_output_);
|
| {
|
| - LogBlock ba(isolate, log);
|
| + LogBlock ba(thread, log);
|
| log->Print("BANANA");
|
| EXPECT_EQ(reinterpret_cast<const char*>(NULL), test_output_);
|
| }
|
|
|