Index: third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
diff --git a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
index d66bc310ce619cf0584c7e5c09bac75319970434..84563abeb90d0588e3d2ebf1b9ba6c6bb581cbee 100644 |
--- a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
+++ b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
@@ -29,6 +29,7 @@ |
#include "base/files/file_util.h" |
#include "base/message_loop/message_loop.h" |
#include "base/path_service.h" |
+#include "base/run_loop.h" |
#include "platform/SharedBuffer.h" |
#include "platform/Timer.h" |
#include "platform/heap/Handle.h" |
@@ -79,7 +80,7 @@ PassRefPtr<SharedBuffer> readFromFile(const String& path) |
void enterRunLoop() |
{ |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
void exitRunLoop() |