Index: LayoutTests/css3/device-adapt/opera/constrain-011.html |
diff --git a/LayoutTests/css3/device-adapt/opera/constrain-011.html b/LayoutTests/css3/device-adapt/opera/constrain-011.html |
index c5e062885edbb9097bc6e7a80ad4cd9406f9ab54..321de60f605a5a19c742d99de44089f916b81209 100644 |
--- a/LayoutTests/css3/device-adapt/opera/constrain-011.html |
+++ b/LayoutTests/css3/device-adapt/opera/constrain-011.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); |