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

Unified Diff: content/shell/renderer/test_runner/event_sender.cc

Issue 738463003: Don't set page scale limits inside EventSender::setPageScaleFactor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/event_sender.cc
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc
index 3265d036385eb38416e5d2da73a9765bc79a976e..cc97d89634de6b2fddd972a849bcb812dc32928e 100644
--- a/content/shell/renderer/test_runner/event_sender.cc
+++ b/content/shell/renderer/test_runner/event_sender.cc
@@ -1469,7 +1469,6 @@ void EventSender::SetPageZoomFactor(double zoom_factor) {
}
void EventSender::SetPageScaleFactor(float scale_factor, int x, int y) {
- view_->setPageScaleFactorLimits(scale_factor, scale_factor);
view_->setPageScaleFactor(scale_factor, WebPoint(x, y));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698