Index: LayoutTests/css3/device-adapt/opera/orientation-002.html |
diff --git a/LayoutTests/css3/device-adapt/opera/orientation-002.html b/LayoutTests/css3/device-adapt/opera/orientation-002.html |
index 6227420d44554bf14816e69e01b21978a0846b96..6a7cb88879d2056c7a5f0041b52d50a176fc90b4 100644 |
--- a/LayoutTests/css3/device-adapt/opera/orientation-002.html |
+++ b/LayoutTests/css3/device-adapt/opera/orientation-002.html |
@@ -49,16 +49,12 @@ |
if (window.testRunner) { |
viewport.fontSize = parseInt(getComputedStyle(testElm, "").fontSize); |
- viewport.deviceWidth = 320; |
- viewport.deviceHeight = 480; |
viewport.initialWidth = 320; |
viewport.initialHeight = 352; |
- var vpString = internals.configurationForViewport(document, 1, |
- viewport.deviceWidth, |
- viewport.deviceHeight, |
- viewport.initialWidth, |
- viewport.initialHeight); |
+ var vpString = internals.viewportAsText(document, 1, |
+ viewport.initialWidth, |
+ viewport.initialHeight); |
var match = /viewport size (.+)x(.+) scale (.+ )/.exec(vpString); |