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

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

Issue 2369613003: Require WebLocalFrame to be created with a non-null client (Closed)
Patch Set: oops 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 3127ab781ea2e75a6a89f3a398f3c3feb68964f6..9d4c750b589a6121c4d535088ba5100e40d588be 100644
--- a/third_party/WebKit/Source/web/tests/FrameLoaderClientImplTest.cpp
+++ b/third_party/WebKit/Source/web/tests/FrameLoaderClientImplTest.cpp
@@ -74,7 +74,6 @@ protected:
void TearDown() override
{
m_webView->close();
- m_mainFrame->close();
}
WebString userAgent()
@@ -92,7 +91,7 @@ protected:
private:
MockWebFrameClient m_webFrameClient;
WebView* m_webView;
- WebFrame* m_mainFrame;
+ WebLocalFrame* m_mainFrame;
};
TEST_F(FrameLoaderClientImplTest, UserAgentOverride)

Powered by Google App Engine
This is Rietveld 408576698