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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2533683002: Move the code in ResourceFetcher handling calls from WebURLLoaderImpl to ResourceLoader (Closed)
Patch Set: Fixed a bug in resource timing population Created 4 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: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index ade7eb5229740517156b9be6fb893607ccaad600..63166f361992f57208cb12a730fbb562d75ec550 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -9555,14 +9555,14 @@ TEST_P(ParameterizedWebFrameTest, SuspendedPageLoadWithRemoteMainFrame) {
FrameTestHelpers::loadFrame(webLocalChild, m_baseURL + "foo.html");
LocalFrame* localChild = toWebLocalFrameImpl(webLocalChild)->frame();
EXPECT_FALSE(page->suspended());
- EXPECT_FALSE(localChild->document()->fetcher()->defersLoading());
+ EXPECT_FALSE(localChild->document()->fetcher()->context().defersLoading());
{
ScopedPageSuspender suspender;
EXPECT_TRUE(page->suspended());
- EXPECT_TRUE(localChild->document()->fetcher()->defersLoading());
+ EXPECT_TRUE(localChild->document()->fetcher()->context().defersLoading());
}
EXPECT_FALSE(page->suspended());
- EXPECT_FALSE(localChild->document()->fetcher()->defersLoading());
+ EXPECT_FALSE(localChild->document()->fetcher()->context().defersLoading());
view->close();
}

Powered by Google App Engine
This is Rietveld 408576698