Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / android_webview / javatests / src / org / chromium / android_webview / test / AndroidViewIntegrationTest.java
index 9776f10..84278da 100644 (file)
@@ -23,7 +23,7 @@ import java.util.concurrent.atomic.AtomicReference;
  * Tests for certain edge cases related to integrating with the Android view system.
  */
 public class AndroidViewIntegrationTest extends AwTestBase {
-    final int CONTENT_SIZE_CHANGE_STABILITY_TIMEOUT_MS = 1000;
+    private static final int CONTENT_SIZE_CHANGE_STABILITY_TIMEOUT_MS = 1000;
 
     private static class OnContentSizeChangedHelper extends CallbackHelper {
         private int mWidth;
@@ -76,7 +76,7 @@ public class AndroidViewIntegrationTest extends AwTestBase {
         };
     }
 
-    final LinearLayout.LayoutParams wrapContentLayoutParams =
+    final LinearLayout.LayoutParams mWrapContentLayoutParams =
         new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
 
     private AwTestContainerView createCustomTestContainerViewOnMainSync(
@@ -87,7 +87,7 @@ public class AndroidViewIntegrationTest extends AwTestBase {
             @Override
             public void run() {
                 testContainerView.set(createAwTestContainerView(awContentsClient));
-                testContainerView.get().setLayoutParams(wrapContentLayoutParams);
+                testContainerView.get().setLayoutParams(mWrapContentLayoutParams);
                 testContainerView.get().setVisibility(visibility);
             }
         });