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

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

Issue 268673015: Support screen.lockOrientation() / screen.unlockOrientation() when running layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Take feedback into consideration Created 6 years, 7 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: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index 426196b6b7d3c46f8a07b0c8135be44fa21c61f1..47ef2aa4c8aea8450b83e0cc460ef41878c80d03 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -1419,6 +1419,7 @@ void TestRunner::Reset() {
delegate_->useUnfortunateSynchronousResizeMode(false);
delegate_->disableAutoResizeMode(WebSize());
delegate_->deleteAllCookies();
+ delegate_->resetScreenOrientation();
}
dump_editting_callbacks_ = false;

Powered by Google App Engine
This is Rietveld 408576698