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

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

Issue 2829923003: Remove redundant WebLocalFrame* parameter from DidReceiveTitle (Closed)
Patch Set: Rebase Created 3 years, 8 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/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 98558857e655f2f82a0d53c7ddcec32b2640b6da..7dc906231f16446c4d264ee595964ccc71d348a4 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -8809,13 +8809,11 @@ class SwapMainFrameWhenTitleChangesWebFrameClient
remote_frame_->Close();
}
- void DidReceiveTitle(WebLocalFrame* frame,
- const WebString&,
- WebTextDirection) override {
- if (!frame->Parent()) {
+ void DidReceiveTitle(const WebString&, WebTextDirection) override {
+ if (!Frame()->Parent()) {
remote_frame_ =
WebRemoteFrame::Create(WebTreeScopeType::kDocument, nullptr);
- frame->Swap(remote_frame_);
+ Frame()->Swap(remote_frame_);
}
}
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698