Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp

Issue 2107163003: Remove calls to deprecated MessageLoop methods in third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libaddressinput/chromium/chrome_address_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « no previous file | third_party/libaddressinput/chromium/chrome_address_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698