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

Unified Diff: content/shell/browser/blink_test_controller.cc

Issue 1488653002: Fix scroll restoration when exiting fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from scheib@ Created 4 years, 11 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/browser/blink_test_controller.cc
diff --git a/content/shell/browser/blink_test_controller.cc b/content/shell/browser/blink_test_controller.cc
index db0142530440748ce62ecf5d0aac16546292346e..34fd78b0351e29c18c7971d1cbb71c99acfdb35d 100644
--- a/content/shell/browser/blink_test_controller.cc
+++ b/content/shell/browser/blink_test_controller.cc
@@ -541,7 +541,7 @@ void BlinkTestController::OnTestFinished() {
printer_->PrintImageFooter();
RenderViewHost* render_view_host =
main_window_->web_contents()->GetRenderViewHost();
- main_window_->web_contents()->ExitFullscreen();
+ main_window_->web_contents()->ExitFullscreen(/*will_cause_resize=*/false);
ShellBrowserContext* browser_context =
ShellContentBrowserClient::Get()->browser_context();

Powered by Google App Engine
This is Rietveld 408576698