Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: LayoutTests/fast/frames/iframe-double-scale-contents.html

Issue 18546003: Fix tests to avoid page scale reset when setting page scale. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use setPageScaleFactorLimits(). Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/frames/iframe-double-scale-contents.html
diff --git a/LayoutTests/fast/frames/iframe-double-scale-contents.html b/LayoutTests/fast/frames/iframe-double-scale-contents.html
index 2327bd53e1994edcbe8cd1d12c68c319888238b3..1fad3585bf24f7c186c4ffaa0d25bbad3e2ee48f 100644
--- a/LayoutTests/fast/frames/iframe-double-scale-contents.html
+++ b/LayoutTests/fast/frames/iframe-double-scale-contents.html
@@ -22,8 +22,8 @@
function scalePage(scaleFactor) {
var scaleOffset = 0;
- if (window.internals) {
- window.internals.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset);
+ if (window.eventSender) {
+ window.eventSender.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset);
}
}
« no previous file with comments | « LayoutTests/fast/frames/frame-set-scaling-hit.html ('k') | LayoutTests/fast/repaint/background-scaling.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698