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

Unified Diff: Source/core/dom/MainThreadTaskRunnerTest.cpp

Issue 1296243004: Oilpan: Move MainThreadTaskRunner into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use CrossThreadWeakPersistent. Created 5 years, 4 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 | « Source/core/dom/MainThreadTaskRunner.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MainThreadTaskRunnerTest.cpp
diff --git a/Source/core/dom/MainThreadTaskRunnerTest.cpp b/Source/core/dom/MainThreadTaskRunnerTest.cpp
index 0a643596747e82a310325643c408eb9b725c8c37..9362bf5df3d6323de2ea9fa3691931f55bf24c2e 100644
--- a/Source/core/dom/MainThreadTaskRunnerTest.cpp
+++ b/Source/core/dom/MainThreadTaskRunnerTest.cpp
@@ -63,7 +63,7 @@ private:
TEST(MainThreadTaskRunnerTest, PostTask)
{
RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext());
- OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
+ OwnPtrWillBeRawPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
bool isMarked = false;
runner->postTask(FROM_HERE, MarkingBooleanTask::create(&isMarked));
@@ -75,7 +75,7 @@ TEST(MainThreadTaskRunnerTest, PostTask)
TEST(MainThreadTaskRunnerTest, SuspendTask)
{
RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext());
- OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
+ OwnPtrWillBeRawPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
bool isMarked = false;
context->setTasksNeedSuspension(true);
@@ -93,7 +93,7 @@ TEST(MainThreadTaskRunnerTest, SuspendTask)
TEST(MainThreadTaskRunnerTest, RemoveRunner)
{
RefPtrWillBeRawPtr<NullExecutionContext> context = adoptRefWillBeNoop(new NullExecutionContext());
- OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
+ OwnPtrWillBeRawPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get());
bool isMarked = false;
context->setTasksNeedSuspension(true);
« no previous file with comments | « Source/core/dom/MainThreadTaskRunner.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698