Index: ios/web/public/web_thread.h |
diff --git a/ios/web/public/web_thread.h b/ios/web/public/web_thread.h |
index d8f395ef0873d33ddf64e97934dae513bdb5437f..56cbb213d7a03e1d52883e40b1f44395e4be0abd 100644 |
--- a/ios/web/public/web_thread.h |
+++ b/ios/web/public/web_thread.h |
@@ -174,16 +174,6 @@ class WebThread { |
// perform random blocking operations such as file writes. |
static base::SequencedWorkerPool* GetBlockingPool() WARN_UNUSED_RESULT; |
- // Returns a pointer to the thread's message loop, which will become |
- // invalid during shutdown, so you probably shouldn't hold onto it. |
- // |
- // This must not be called before the thread is started, or after |
- // the thread is stopped, or it will DCHECK. |
- // |
- // Ownership remains with the WebThread implementation, so you must not |
- // delete the pointer. |
- static base::MessageLoop* UnsafeGetMessageLoopForThread(ID identifier); |
- |
// Callable on any thread. Returns whether the given well-known thread is |
// initialized. |
static bool IsThreadInitialized(ID identifier) WARN_UNUSED_RESULT; |