Initialized the orientation variable to -1.

issue: 3057966
Change-Id: I31047d31376d79b1718c42633c9e6802e51213a7
This commit is contained in:
Shimeng (Simon) Wang
2010-10-11 13:39:17 -07:00
parent 5f7c5a25de
commit 2edfcd584e

View File

@@ -73,7 +73,7 @@ class BrowserFrame extends Handler {
// that if the UI thread posts any messages after the message
// queue has been cleared,they are ignored.
private boolean mBlockMessages = false;
private int mOrientation;
private int mOrientation = -1;
private static String sDatabaseDirectory;
private static String sCacheDirectory;
@@ -225,7 +225,6 @@ class BrowserFrame extends Handler {
mCallbackProxy = proxy;
mDatabase = WebViewDatabase.getInstance(appContext);
mWebViewCore = w;
mOrientation = 0;
AssetManager am = context.getAssets();
nativeCreateFrame(w, am, proxy.getBackForwardList());