No bug - Ensure Robocop can find GeckoProfile.getDB. r=me
authorNick Alexander <nalexander@mozilla.com>
Tue, 05 Apr 2016 16:10:52 -0700
changeset 291856 5f46f7e70d1f8565ce22d6eb32cb7c7873fecce5
parent 291855 c131636dae420773342d1439b6086b6c62b222f4
child 291857 061165ac1ff9e076ec51ea268878efa751173511
push id74700
push usercbook@mozilla.com
push dateWed, 06 Apr 2016 10:06:38 +0000
treeherdermozilla-inbound@49d808d13f4f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
No bug - Ensure Robocop can find GeckoProfile.getDB. r=me MozReview-Commit-ID: 3KdDRXnsfHv
mobile/android/base/java/org/mozilla/gecko/GeckoProfile.java
--- a/mobile/android/base/java/org/mozilla/gecko/GeckoProfile.java
+++ b/mobile/android/base/java/org/mozilla/gecko/GeckoProfile.java
@@ -464,16 +464,17 @@ public final class GeckoProfile {
         if (profileDir != null && profileDir.exists() && profileDir.isDirectory()) {
             mProfileDir = profileDir;
         }
 
         // N.B., mProfileDir can be null at this point.
         mDB = dbFactory.get(profileName, mProfileDir);
     }
 
+    @RobocopTarget
     public BrowserDB getDB() {
         return mDB;
     }
 
 
     // Warning, Changing the lock file state from outside apis will cause this to become out of sync
     public boolean locked() {
         if (mLocked != LockState.UNDEFINED) {