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

Unified Diff: third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp

Issue 2723003002: Editing: Fix caret blinking after a typing. (Closed)
Patch Set: Apply review comments Created 3 years, 10 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
Index: third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
diff --git a/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp b/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
index 575bd1927f6414999ecc51b2423aac3b90497425..2003a62ac1eff3bc1d8f3899f06658f8c1550e1e 100644
--- a/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
+++ b/third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp
@@ -129,7 +129,7 @@ TEST(WebTaskRunnerTest, CancellationCheckerTest) {
// TaskHandle::isActive should detect the deletion of posted task.
auto queue = taskRunner->takePendingTasksForTesting();
ASSERT_EQ(1u, queue.size());
- EXPECT_FALSE(queue[0].IsCancelled());
+ EXPECT_FALSE(queue[0].first.IsCancelled());
EXPECT_TRUE(handle.isActive());
queue.clear();
EXPECT_FALSE(handle.isActive());
@@ -145,10 +145,10 @@ TEST(WebTaskRunnerTest, CancellationCheckerTest) {
// The cancellation of the posted task should be propagated to TaskHandle.
queue = taskRunner->takePendingTasksForTesting();
ASSERT_EQ(1u, queue.size());
- EXPECT_FALSE(queue[0].IsCancelled());
+ EXPECT_FALSE(queue[0].first.IsCancelled());
EXPECT_TRUE(handle.isActive());
helper.revokeWeakPtrs();
- EXPECT_TRUE(queue[0].IsCancelled());
+ EXPECT_TRUE(queue[0].first.IsCancelled());
EXPECT_FALSE(handle.isActive());
}

Powered by Google App Engine
This is Rietveld 408576698