| Index: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java
|
| index da6820b9acc30fc5f3b95081d329a475899bc729..3d11203dee07036d48ff49d3d6fa16f453e0c3a8 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java
|
| @@ -14,10 +14,8 @@ import com.google.android.gms.nearby.messages.Message;
|
| import com.google.android.gms.nearby.messages.MessageFilter;
|
| import com.google.android.gms.nearby.messages.MessageListener;
|
|
|
| -import org.chromium.base.ContextUtils;
|
| import org.chromium.base.Log;
|
| -import org.chromium.chrome.browser.ChromeApplication;
|
| -
|
| +import org.chromium.chrome.browser.AppHooks;
|
|
|
| /**
|
| * The Client that harvests URLs from BLE signals.
|
| @@ -70,8 +68,7 @@ public class PhysicalWebBleClient {
|
| */
|
| public static PhysicalWebBleClient getInstance() {
|
| if (sInstance == null) {
|
| - sInstance = ((ChromeApplication) ContextUtils.getApplicationContext())
|
| - .createPhysicalWebBleClient();
|
| + sInstance = AppHooks.get().createPhysicalWebBleClient();
|
| }
|
| return sInstance;
|
| }
|
|
|