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

Unified Diff: third_party/WebKit/Source/core/loader/PrerenderHandle.cpp

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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/core/loader/PrerenderHandle.cpp
diff --git a/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp b/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp
index 1c6458d3214d2b394e5083d63d822021ebc527f5..bf8f60877ea0297d1f12dd66ab497886558a19a8 100644
--- a/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp
+++ b/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp
@@ -89,7 +89,7 @@ const KURL& PrerenderHandle::url() const {
return m_prerender->url();
}
-void PrerenderHandle::contextDestroyed() {
+void PrerenderHandle::contextDestroyed(ExecutionContext*) {
// A PrerenderHandle is not removed from LifecycleNotifier::m_observers until
// the next GC runs. Thus contextDestroyed() can be called for a
// PrerenderHandle that is already cancelled (and thus detached). In that

Powered by Google App Engine
This is Rietveld 408576698