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

Unified Diff: components/test_runner/test_runner.cc

Issue 2012653004: content_shell: Fix a regression for paths starting with /media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « components/test_runner/test_runner.h ('k') | components/test_runner/web_frame_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index 99d728b2a6f11354303aa9158f0351c51ffe984d..0c0b5d1ed4b47faff85412d79c8320f562ec06b3 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -1551,6 +1551,7 @@ TestRunner::TestRunner(TestInterfaces* interfaces)
spellcheck_(new SpellCheckClient(this)),
chooser_count_(0),
previously_focused_view_(nullptr),
+ did_request_after_reset_(false),
weak_factory_(this) {}
TestRunner::~TestRunner() {}
@@ -1575,6 +1576,7 @@ void TestRunner::SetMainView(WebView* web_view) {
}
void TestRunner::Reset() {
+ did_request_after_reset_ = false;
top_loading_frame_ = nullptr;
layout_test_runtime_flags_.Reset();
mock_screen_orientation_client_->ResetData();
« no previous file with comments | « components/test_runner/test_runner.h ('k') | components/test_runner/web_frame_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698