Commit de79f970 authored by Ted Choc's avatar Ted Choc Committed by Commit Bot

Remove dead code from ShareMenuActionHandler refactor.

Clean up of stuff I missed from:
https://chromium-review.googlesource.com/c/chromium/src/+/762036

BUG=780139

Change-Id: Icc79f75e49dd9c8e2327ffee22e53cafe81bec41
Reviewed-on: https://chromium-review.googlesource.com/773503Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Ted Choc <tedchoc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517155}
parent 052b2685
...@@ -275,9 +275,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity ...@@ -275,9 +275,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
// See enableHardwareAcceleration() // See enableHardwareAcceleration()
private boolean mSetWindowHWA; private boolean mSetWindowHWA;
// Skips capturing screenshot for testing purpose.
private boolean mScreenshotCaptureSkippedForTesting;
/** Whether or not a PolicyChangeListener was added. */ /** Whether or not a PolicyChangeListener was added. */
private boolean mDidAddPolicyChangeListener; private boolean mDidAddPolicyChangeListener;
...@@ -1260,11 +1257,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity ...@@ -1260,11 +1257,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
return super.onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
} }
@VisibleForTesting
public void setScreenshotCaptureSkippedForTesting(boolean value) {
mScreenshotCaptureSkippedForTesting = value;
}
/** /**
* Triggered when the share menu item is selected. * Triggered when the share menu item is selected.
* This creates and shows a share intent picker dialog or starts a share intent directly. * This creates and shows a share intent picker dialog or starts a share intent directly.
......
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