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

Unified Diff: content/browser/devtools/protocol/service_worker_handler.cc

Issue 1233633002: Initialize render_frame_host_ in the constuctor of ServiceWorkerHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/service_worker_handler.cc
diff --git a/content/browser/devtools/protocol/service_worker_handler.cc b/content/browser/devtools/protocol/service_worker_handler.cc
index b35a254f10f1b83411595b5ee88e292e4df08daa..5970c245e54f8640f4974bbe8e796926b8c46772 100644
--- a/content/browser/devtools/protocol/service_worker_handler.cc
+++ b/content/browser/devtools/protocol/service_worker_handler.cc
@@ -230,7 +230,7 @@ const std::string GetDevToolsAgentHostTypeString(
} // namespace
ServiceWorkerHandler::ServiceWorkerHandler()
- : enabled_(false), weak_factory_(this) {
+ : enabled_(false), render_frame_host_(nullptr), weak_factory_(this) {
}
ServiceWorkerHandler::~ServiceWorkerHandler() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698