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

Unified Diff: LayoutTests/fast/repaint/background-scaling.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/repaint/background-scaling.html
diff --git a/LayoutTests/fast/repaint/background-scaling.html b/LayoutTests/fast/repaint/background-scaling.html
index 29e84699bbc52fbc057b0bbd00531e29581b5260..6f490b17b3710a0e012d67c194910f01b3029e29 100644
--- a/LayoutTests/fast/repaint/background-scaling.html
+++ b/LayoutTests/fast/repaint/background-scaling.html
@@ -4,8 +4,8 @@
<script type="text/javascript">
function repaintTest()
{
- if (window.internals)
- window.internals.setPageScaleFactor(0.25, 0, 0);
+ if (window.eventSender)
+ window.eventSender.setPageScaleFactor(0.25, 0, 0);
}
</script>
</head>
« no previous file with comments | « LayoutTests/fast/frames/iframe-double-scale-contents.html ('k') | LayoutTests/fast/repaint/fixed-in-page-scale.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698