Bug 888039: NSME on visited page due to swapCursor(). [r=margaret]
authorSriram Ramasubramanian <sriram@mozilla.com>
Fri, 28 Jun 2013 10:56:35 -0700
changeset 143368 2f186c2d4a411cf3a015d95379bff91f741be8f6
parent 143367 9c2d41078e3bb1d0399f4b08245f9b995de95671
child 143369 ff8eb6acf9e57ad0e4aa4e4cbdf6e74adceac672
push id25130
push userlrocha@mozilla.com
push dateWed, 21 Aug 2013 09:41:27 +0000
treeherdermozilla-central@b2486721572e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs888039
milestone24.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
Bug 888039: NSME on visited page due to swapCursor(). [r=margaret]
mobile/android/base/home/BrowserSearch.java
mobile/android/base/home/VisitedPage.java
--- a/mobile/android/base/home/BrowserSearch.java
+++ b/mobile/android/base/home/BrowserSearch.java
@@ -28,26 +28,26 @@ import android.content.Context;
 import android.database.Cursor;
 import android.graphics.Bitmap;
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.support.v4.app.LoaderManager;
 import android.support.v4.app.LoaderManager.LoaderCallbacks;
 import android.support.v4.content.AsyncTaskLoader;
 import android.support.v4.content.Loader;
+import android.support.v4.widget.SimpleCursorAdapter;
 import android.text.TextUtils;
 import android.util.Log;
 import android.view.View;
 import android.view.ViewGroup;
 import android.view.LayoutInflater;
 import android.widget.AdapterView;
 import android.widget.ImageView;
 import android.widget.LinearLayout;
 import android.widget.ListView;
-import android.widget.SimpleCursorAdapter;
 import android.widget.TextView;
 
 import java.util.ArrayList;
 
 /**
  * Fragment that displays frecency search results in a ListView.
  */
 public class BrowserSearch extends HomeFragment
--- a/mobile/android/base/home/VisitedPage.java
+++ b/mobile/android/base/home/VisitedPage.java
@@ -17,22 +17,22 @@ import android.content.ContentResolver;
 import android.content.Context;
 import android.database.Cursor;
 import android.graphics.Bitmap;
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.support.v4.app.LoaderManager;
 import android.support.v4.app.LoaderManager.LoaderCallbacks;
 import android.support.v4.content.Loader;
+import android.support.v4.widget.SimpleCursorAdapter;
 import android.view.View;
 import android.view.ViewGroup;
 import android.view.LayoutInflater;
 import android.widget.AdapterView;
 import android.widget.ListView;
-import android.widget.SimpleCursorAdapter;
 
 /**
  * Fragment that displays frecency search results in a ListView.
  */
 public class VisitedPage extends HomeFragment {
     // Logging tag name
     private static final String LOGTAG = "GeckoVisitedPage";