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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimTest.cpp

Issue 2275493002: Remove EventSender from HTMLLinkElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 3 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 | « third_party/WebKit/Source/core/html/HTMLLinkElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/sim/SimTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimTest.cpp b/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
index fb9aa0510fc93bbe8f79a069e98838deddb61792..9246e64bca7ba2c074c1d37746e35a7815061605 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
@@ -7,6 +7,7 @@
#include "core/dom/Document.h"
#include "platform/LayoutTestSupport.h"
#include "platform/scroll/ScrollbarTheme.h"
+#include "platform/testing/UnitTestHelpers.h"
#include "public/platform/WebSecurityOrigin.h"
#include "public/web/WebCache.h"
#include "web/WebLocalFrameImpl.h"
@@ -32,6 +33,9 @@ SimTest::SimTest()
SimTest::~SimTest()
{
+ // Pump the message loop to process the load event.
+ testing::runPendingTasks();
+
Document::setThreadedParsingEnabledForTesting(true);
LayoutTestSupport::setMockThemeEnabledForTest(false);
ScrollbarTheme::setMockScrollbarsEnabled(false);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698