From 5ba2efeb9faaf7db9da205102b9a7f40b4b89f27 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 3 Aug 2011 13:57:49 +0100 Subject: Minor clean-up in DeviceOrientation and DeviceMotion No functional change. See corresponding external/webkit change https://android-git.corp.google.com/g/#change,125700 Change-Id: I2693328cb058820587ac43dd3121818959efd2d0 --- .../src/com/android/dumprendertree/TestShellActivity.java | 2 +- .../src/com/android/dumprendertree2/LayoutTestsExecutor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java index d151d9e..77c0a3f 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/TestShellActivity.java @@ -168,7 +168,7 @@ public class TestShellActivity extends Activity implements LayoutTestController } // This is asynchronous, but it gets processed by WebCore before it starts loading pages. - mWebViewClassic.useMockDeviceOrientation(); + mWebViewClassic.setUseMockDeviceOrientation(); } @Override diff --git a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java index fc22472..f958ade 100644 --- a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java +++ b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestsExecutor.java @@ -394,7 +394,7 @@ public class LayoutTestsExecutor extends Activity { webViewSettings.setPageCacheCapacity(0); // This is asynchronous, but it gets processed by WebCore before it starts loading pages. - WebViewClassic.fromWebView(mCurrentWebView).useMockDeviceOrientation(); + WebViewClassic.fromWebView(mCurrentWebView).setUseMockDeviceOrientation(); // Must do this after setting the AppCache path. WebStorage.getInstance().deleteAllData(); -- cgit v1.1