Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3395)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java

Issue 2652383002: Use new app-level object instantiation mechanism (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java
index fe235b21904195e5d3cb05353b5bac83313b8736..e4ba5720c3a6e562da8b5726ebb0041868b617e6 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java
@@ -22,7 +22,7 @@ public class PhysicalWebEnvironment {
public static PhysicalWebEnvironment getInstance(ChromeApplication chromeApplication) {
synchronized (INSTANCE_LOCK) {
if (sInstance == null) {
- sInstance = chromeApplication.createPhysicalWebEnvironment();
+ sInstance = ChromeApplication.createObject(PhysicalWebEnvironment.class);
}
}
return sInstance;
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebBleClient.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698