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

Unified Diff: content/renderer/websharedworker_proxy.cc

Issue 8965054: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: content/renderer/websharedworker_proxy.cc
diff --git a/content/renderer/websharedworker_proxy.cc b/content/renderer/websharedworker_proxy.cc
index 0535f8c487cec407be547ba3522eb24549ab0996..932c00cfbd877f57096709c97a6059f2a89702fd 100644
--- a/content/renderer/websharedworker_proxy.cc
+++ b/content/renderer/websharedworker_proxy.cc
@@ -19,6 +19,7 @@ WebSharedWorkerProxy::WebSharedWorkerProxy(ChildThread* child_thread,
render_view_route_id_(render_view_route_id),
child_thread_(child_thread),
document_id_(document_id),
+ parent_appcache_host_id_(-1),
binji 2011/12/20 20:00:06 Why is -1 a safe value for this?
James Hawkins 2011/12/20 20:48:51 moot point, I deleted the variable since it's unus
pending_route_id_(route_id),
connect_listener_(NULL) {
if (route_id_ != MSG_ROUTING_NONE)

Powered by Google App Engine
This is Rietveld 408576698