[documentation] Fix nit in threading_and_tasks.md.

The text was referring to the wrong function name.

Change-Id: I8f3d201890b0d0165f699fa85f73d07fdbc06ef8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3009074
Auto-Submit: François Doray <[email protected]>
Commit-Queue: Etienne Pierre-Doray <[email protected]>
Reviewed-by: Etienne Pierre-Doray <[email protected]>
Cr-Commit-Position: refs/heads/master@{#898824}
diff --git a/docs/threading_and_tasks.md b/docs/threading_and_tasks.md
index cd724674..c552860 100644
--- a/docs/threading_and_tasks.md
+++ b/docs/threading_and_tasks.md
@@ -610,7 +610,7 @@
 ```
 
 Note: `WeakPtr` is not thread-safe: `GetWeakPtr()`, `~WeakPtrFactory()`, and
-`Compute()` (bound to a `WeakPtr`) must all run on the same sequence.
+`Store()` (bound to a `WeakPtr`) must all run on the same sequence.
 
 ### Using base::CancelableTaskTracker