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

Unified Diff: third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h

Issue 2371663002: Introduce an injection point to configure the internal pointer of WeakPtr
Patch Set: fix 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
Index: third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h
diff --git a/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h b/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h
index 0bd88cac8f90393b593b4dab79e8fc1a4a224155..3463167d3bd0b13adc9d38d42d4292cfbeb381d9 100644
--- a/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h
+++ b/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h
@@ -73,8 +73,8 @@ private:
Timer<MainThreadTaskRunner> m_pendingTasksTimer;
Vector<std::pair<std::unique_ptr<ExecutionContextTask>, bool /* instrumenting */>> m_pendingTasks;
bool m_suspended;
- WeakPtrFactory<MainThreadTaskRunner> m_weakFactory;
- WeakPtr<MainThreadTaskRunner> m_weakPtr;
+ WTF::WeakPtrFactory<MainThreadTaskRunner> m_weakFactory;
+ WTF::WeakPtr<MainThreadTaskRunner> m_weakPtr;
};
inline std::unique_ptr<MainThreadTaskRunner> MainThreadTaskRunner::create(ExecutionContext* context)

Powered by Google App Engine
This is Rietveld 408576698