No bug - Ensure Robocop can find GeckoProfile.getDB. r=me
authorNick Alexander <nalexander@mozilla.com>
Tue, 05 Apr 2016 16:10:52 -0700
changeset 291628 5f46f7e70d1f8565ce22d6eb32cb7c7873fecce5
parent 291627 c131636dae420773342d1439b6086b6c62b222f4
child 291629 061165ac1ff9e076ec51ea268878efa751173511
push id18545
push usernalexander@mozilla.com
push dateTue, 05 Apr 2016 23:45:00 +0000
treeherderfx-team@5f46f7e70d1f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone48.0a1
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) {