Commit 68c03e70 authored by Egor Pasko's avatar Egor Pasko Committed by Commit Bot

android: doc: Linker.java: follow a function rename in comments

The useSharedRelros() was renamed into provideSharedRelros(). Update
stale comments to match the new name. No functional changes.

Bug: None
Change-Id: I278f1eccc650a24957a28825ffe4b107bda74577
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521176Reviewed-by: default avatarBenoit L <lizeb@chromium.org>
Commit-Queue: Egor Pasko <pasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824803}
parent 38279ab2
...@@ -428,13 +428,13 @@ public abstract class Linker { ...@@ -428,13 +428,13 @@ public abstract class Linker {
mState = State.INITIALIZED; mState = State.INITIALIZED;
} }
// Used internally to wait for shared RELROs. Returns once useSharedRelros() has been // Used internally to wait for shared RELROs. Returns once provideSharedRelros() has been
// called to supply a valid shared RELROs bundle. // called to supply a valid shared RELROs bundle.
@GuardedBy("sLock") @GuardedBy("sLock")
protected final void waitForSharedRelrosLocked() { protected final void waitForSharedRelrosLocked() {
if (DEBUG) Log.i(TAG, "waitForSharedRelros() called"); if (DEBUG) Log.i(TAG, "waitForSharedRelros() called");
// Wait until notified by useSharedRelros() that shared RELROs have arrived. // Wait until notified by provideSharedRelros() that shared RELROs have arrived.
// //
// Note that the relocations may already have been provided by the time we arrive here, so // Note that the relocations may already have been provided by the time we arrive here, so
// this may return immediately. // this may return immediately.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment