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