Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 2548013002: Remove redundant field initialization in Java code. (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 508cc11f9b91c35d4d75b14aaea57604ccd32de9..42d6ad012d896bfd8341b7101914c92d7b934be0 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -306,7 +306,7 @@ public class AwContents implements SmartClipProvider, PostMessageSender.PostMess
private Bitmap mFavicon;
private boolean mHasRequestedVisitedHistoryFromClient;
// Whether this WebView is a popup.
- private boolean mIsPopupWindow = false;
+ private boolean mIsPopupWindow;
// The base background color, i.e. not accounting for any CSS body from the current page.
private int mBaseBackgroundColor = Color.WHITE;
@@ -357,7 +357,7 @@ public class AwContents implements SmartClipProvider, PostMessageSender.PostMess
// True when this AwContents has been destroyed.
// Do not use directly, call isDestroyed() instead.
- private boolean mIsDestroyed = false;
+ private boolean mIsDestroyed;
private static String sCurrentLocales = "";
@@ -1694,7 +1694,7 @@ public class AwContents implements SmartClipProvider, PostMessageSender.PostMess
// take that into consideration).
// http://crbug.com/269032
private boolean mOverlayHorizontalScrollbar = true;
- private boolean mOverlayVerticalScrollbar = false;
+ private boolean mOverlayVerticalScrollbar;
/**
* @see View#setScrollBarStyle(int)

Powered by Google App Engine
This is Rietveld 408576698