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

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: Trying to fix test broken on Mac Created 5 years 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 7b55670058ae32bf91f4c5ad6ffb647b9f2ec954..adb61ecc84fbf75d7ddaec69ea9ac09bc8e94091 100644
--- a/content/shell/browser/blink_test_controller.cc
+++ b/content/shell/browser/blink_test_controller.cc
@@ -538,7 +538,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