Fix broken build caused by interefence between csets f5afa1e3faa9 and e20434400f0c. no bug, r=me
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 05 Jan 2012 22:36:13 -0500
changeset 85141 bb37803ae6c89e8d826ff709d71665627af5204b
parent 85140 6c3cea75e5bac20af1850f1de0d73876a5797806
child 85142 8dc46cdc401b476c0904498fb29363d98f91f194
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone12.0a1
Fix broken build caused by interefence between csets f5afa1e3faa9 and e20434400f0c. no bug, r=me
build/mobile/robocop/FennecNativeElement.java.in
--- a/build/mobile/robocop/FennecNativeElement.java.in
+++ b/build/mobile/robocop/FennecNativeElement.java.in
@@ -135,22 +135,21 @@ public class FennecNativeElement impleme
     }
     return text.toString();
   }
 
   private boolean displayed;
 
   public boolean isDisplayed() {
     final SynchronousQueue syncQueue = new SynchronousQueue();
-    currentActivity = robocop.getCurrentActivity();
     displayed = false;
-    currentActivity.runOnUiThread(
+    mActivity.runOnUiThread(
         new Runnable() {
           public void run() {
-            View view = (View)currentActivity.findViewById(id);
+            View view = (View)mActivity.findViewById(id);
             if(view != null) {
               displayed = true;
             }
             syncQueue.offer(new Object());
           }
         });
     try {
       syncQueue.take();