Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / public / android / javatests / src / org / chromium / content / browser / ContentDetectionTestBase.java
index 6480854..870536f 100644 (file)
@@ -52,7 +52,8 @@ public class ContentDetectionTestBase extends ContentShellTestBase {
      * @return true if the test url is the current one, false otherwise.
      */
     protected boolean isCurrentTestUrl(String testUrl) {
-        return UrlUtils.getTestFileUrl(testUrl).equals(getContentViewCore().getUrl());
+        return UrlUtils.getTestFileUrl(testUrl).equals(getContentViewCore()
+                .getWebContents().getUrl());
     }
 
     /**