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

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

Issue 2838503002: Remove redundant WebLocalFrame* parameter from WillReleaseScriptContext (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 c420f19f0185e29306de3d6d821ffc302078cf40..9ed0a2334bc3495f91de27202f7207132f0e93ea 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -4474,12 +4474,10 @@ class ContextLifetimeTestWebFrameClient
WTF::MakeUnique<Notification>(frame, context, world_id));
}
- void WillReleaseScriptContext(WebLocalFrame* frame,
- v8::Local<v8::Context> context,
+ void WillReleaseScriptContext(v8::Local<v8::Context> context,
int world_id) override {
- ASSERT_EQ(Frame(), frame);
release_notifications_.push_back(
- WTF::MakeUnique<Notification>(frame, context, world_id));
+ WTF::MakeUnique<Notification>(Frame(), context, world_id));
}
};
« 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