Commit 8a3a9392 authored by Ian Vollick's avatar Ian Vollick Committed by Commit Bot

Remove some dead code

Looks like AddressAccessoryController::GetIfNeeded is not currently
being called.

Bug: None
Change-Id: I4e717c1b481958b79a77bee4615b2d25c9663ee8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416808Reviewed-by: default avatarFriedrich [CET] <fhorschig@chromium.org>
Reviewed-by: default avatarsebsg <sebsg@chromium.org>
Commit-Queue: sebsg <sebsg@chromium.org>
Auto-Submit: Ian Vollick <vollick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#808989}
parent ffc6bf5a
......@@ -37,11 +37,6 @@ class AddressAccessoryController
static AddressAccessoryController* GetOrCreate(
content::WebContents* web_contents);
// Returns a reference to the unique AddressAccessoryController associated
// with |web_contents|. Returns null if no such instance exists.
static AddressAccessoryController* GetIfExisting(
content::WebContents* web_contents);
// Fetches suggestions and propagates them to the frontend.
virtual void RefreshSuggestions() = 0;
......
......@@ -100,12 +100,6 @@ AddressAccessoryController* AddressAccessoryController::GetOrCreate(
return AddressAccessoryControllerImpl::FromWebContents(web_contents);
}
// static
AddressAccessoryController* AddressAccessoryController::GetIfExisting(
content::WebContents* web_contents) {
return AddressAccessoryControllerImpl::FromWebContents(web_contents);
}
void AddressAccessoryControllerImpl::OnFillingTriggered(
const UserInfo::Field& selection) {
// Since the data we fill is scoped to the profile and not to a frame, we can
......
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