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

Unified Diff: LayoutTests/fast/repaint/scale-page-shrink.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/scale-page-shrink.html
diff --git a/LayoutTests/fast/repaint/scale-page-shrink.html b/LayoutTests/fast/repaint/scale-page-shrink.html
index d8e07e19df74d1f9f08f26888866c68e37b0faa8..a1b9023436bda5429138fe0ba244da22baf84af6 100644
--- a/LayoutTests/fast/repaint/scale-page-shrink.html
+++ b/LayoutTests/fast/repaint/scale-page-shrink.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>

Powered by Google App Engine
This is Rietveld 408576698