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

Unified Diff: LayoutTests/fast/events/resize-events-fixed-layout.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
« no previous file with comments | « LayoutTests/fast/events/resize-events.html ('k') | LayoutTests/fast/events/scale-and-scroll-body.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/resize-events-fixed-layout.html
diff --git a/LayoutTests/fast/events/resize-events-fixed-layout.html b/LayoutTests/fast/events/resize-events-fixed-layout.html
index b9ee8264b7759ecd541772f29cbd0eb9738af3bf..9b4e0550f5ea12e85bad3790ff123ddc7e8e0aec 100644
--- a/LayoutTests/fast/events/resize-events-fixed-layout.html
+++ b/LayoutTests/fast/events/resize-events-fixed-layout.html
@@ -43,8 +43,8 @@
setTimeout(scalePage, 20);
}
function scalePage() {
- if (window.internals)
- window.internals.setPageScaleFactor(3, 0, 0);
+ if (window.eventSender)
+ window.eventSender.setPageScaleFactor(3, 0, 0);
setTimeout(changeFixedLayoutSize, 20);
}
function changeFixedLayoutSize() {
@@ -61,4 +61,4 @@
window.onload = test;
</script>
</body>
-</html>
+</html>
« no previous file with comments | « LayoutTests/fast/events/resize-events.html ('k') | LayoutTests/fast/events/scale-and-scroll-body.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698