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

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

Issue 2389493002: Revert of Require WebLocalFrame to be created with a non-null client (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/web/tests/FrameLoaderClientImplTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/FrameLoaderClientImplTest.cpp b/third_party/WebKit/Source/web/tests/FrameLoaderClientImplTest.cpp
index 9d4c750b589a6121c4d535088ba5100e40d588be..3127ab781ea2e75a6a89f3a398f3c3feb68964f6 100644
--- a/third_party/WebKit/Source/web/tests/FrameLoaderClientImplTest.cpp
+++ b/third_party/WebKit/Source/web/tests/FrameLoaderClientImplTest.cpp
@@ -74,6 +74,7 @@
void TearDown() override
{
m_webView->close();
+ m_mainFrame->close();
}
WebString userAgent()
@@ -91,7 +92,7 @@
private:
MockWebFrameClient m_webFrameClient;
WebView* m_webView;
- WebLocalFrame* m_mainFrame;
+ WebFrame* m_mainFrame;
};
TEST_F(FrameLoaderClientImplTest, UserAgentOverride)
« no previous file with comments | « third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp ('k') | third_party/WebKit/Source/web/tests/FrameTestHelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698