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

Unified Diff: third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp

Issue 2555043004: Remove ContextLifecycleObserer from XHRReplayData (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/NetworkResourcesData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
diff --git a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
index 4288635aa35e16b8f23ce739e37509192d3f353f..7b074111d7c02a007453b5d71ea94afdcc704e6f 100644
--- a/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
+++ b/third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp
@@ -61,7 +61,7 @@ XHRReplayData::XHRReplayData(ExecutionContext* executionContext,
bool async,
PassRefPtr<EncodedFormData> formData,
bool includeCredentials)
- : ContextLifecycleObserver(executionContext),
+ : m_executionContext(executionContext),
m_method(method),
m_url(url),
m_async(async),
@@ -69,7 +69,7 @@ XHRReplayData::XHRReplayData(ExecutionContext* executionContext,
m_includeCredentials(includeCredentials) {}
DEFINE_TRACE(XHRReplayData) {
- ContextLifecycleObserver::trace(visitor);
+ visitor->trace(m_executionContext);
}
// ResourceData
« no previous file with comments | « third_party/WebKit/Source/core/inspector/NetworkResourcesData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698