Index: content/common/service_worker/service_worker_types.cc |
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc |
index 8ab0fec51c8887394e3400c2f8fe09d8b12b26b5..e9ff0b96319a11363562c47e146282d4dbe3dc98 100644 |
--- a/content/common/service_worker/service_worker_types.cc |
+++ b/content/common/service_worker/service_worker_types.cc |
@@ -21,6 +21,7 @@ const char kFetchScriptError[] = |
ServiceWorkerFetchRequest::ServiceWorkerFetchRequest() |
: mode(FETCH_REQUEST_MODE_NO_CORS), |
+ is_main_resource_load(false), |
jungkees
2016/01/18 10:04:32
This line fixes the use-of-uninitialized-value war
|
request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED), |
frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE), |
blob_size(0), |
@@ -35,6 +36,7 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest( |
const Referrer& referrer, |
bool is_reload) |
: mode(FETCH_REQUEST_MODE_NO_CORS), |
+ is_main_resource_load(false), |
jungkees
2016/01/18 10:04:32
This line fixes the use-of-uninitialized-value war
|
request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED), |
frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE), |
url(url), |