Commit 0ae45e68 authored by sievers's avatar sievers Committed by Commit bot

Android: Add 'assert !mAlwaysInForeground' for dropOomBindings()

Follow-up on comment from https://codereview.chromium.org/889013002/
TBR=ppi@chromium.org

Review URL: https://codereview.chromium.org/902593003

Cr-Commit-Position: refs/heads/master@{#314659}
parent e51e9b32
......@@ -415,6 +415,7 @@ public class ChildProcessConnectionImpl implements ChildProcessConnection {
@Override
public void dropOomBindings() {
synchronized (mLock) {
assert !mAlwaysInForeground;
mInitialBinding.unbind();
mStrongBindingCount = 0;
......
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