2018-05-30 11:15:30 +00:00
|
|
|
Index: chromium-67.0.3396.30/media/gpu/vaapi/vaapi_wrapper.cc
|
2018-03-08 08:58:24 +00:00
|
|
|
===================================================================
|
2018-05-30 11:15:30 +00:00
|
|
|
--- chromium-67.0.3396.30.orig/media/gpu/vaapi/vaapi_wrapper.cc
|
|
|
|
|
+++ chromium-67.0.3396.30/media/gpu/vaapi/vaapi_wrapper.cc
|
|
|
|
|
@@ -390,6 +390,8 @@ static VAEntrypoint GetVaEntryPoint(Vaap
|
2018-03-08 08:58:24 +00:00
|
|
|
case VaapiWrapper::kCodecModeMax:
|
|
|
|
|
NOTREACHED();
|
|
|
|
|
return VAEntrypointVLD;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-07-25 09:58:33 +00:00
|
|
|
Index: chromium-68.0.3440.17/cc/input/snap_fling_controller.cc
|
2018-05-30 11:15:30 +00:00
|
|
|
===================================================================
|
2018-07-25 09:58:33 +00:00
|
|
|
--- chromium-68.0.3440.17.orig/cc/input/snap_fling_controller.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/cc/input/snap_fling_controller.cc
|
|
|
|
|
@@ -26,6 +26,8 @@ bool SnapFlingController::FilterEventFor
|
|
|
|
|
case GestureScrollType::kEnd: {
|
|
|
|
|
return state_ == State::kActive || state_ == State::kFinished;
|
|
|
|
|
}
|
|
|
|
|
+ default:
|
|
|
|
|
+ return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/chrome/browser/ui/webui/discards/discards_ui.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/chrome/browser/ui/webui/discards/discards_ui.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/chrome/browser/ui/webui/discards/discards_ui.cc
|
|
|
|
|
@@ -44,6 +44,8 @@ mojom::LifecycleUnitVisibility GetLifecy
|
|
|
|
|
return mojom::LifecycleUnitVisibility::OCCLUDED;
|
|
|
|
|
case content::Visibility::VISIBLE:
|
|
|
|
|
return mojom::LifecycleUnitVisibility::VISIBLE;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return mojom::LifecycleUnitVisibility::VISIBLE;
|
|
|
|
|
}
|
|
|
|
|
#if defined(COMPILER_MSVC)
|
|
|
|
|
NOTREACHED();
|
|
|
|
|
Index: chromium-68.0.3440.17/components/autofill/core/browser/autofill_manager.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/components/autofill/core/browser/autofill_manager.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/components/autofill/core/browser/autofill_manager.cc
|
|
|
|
|
@@ -303,6 +303,7 @@ PopupType AutofillManager::GetPopupType(
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
NOTREACHED();
|
|
|
|
|
+ return PopupType::kUnspecified;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/components/cast_channel/cast_message_util.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/components/cast_channel/cast_message_util.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/components/cast_channel/cast_message_util.cc
|
|
|
|
|
@@ -368,6 +368,8 @@ const char* GetAppAvailabilityResultToSt
|
|
|
|
|
return "unavailable";
|
|
|
|
|
case GetAppAvailabilityResult::kUnknown:
|
|
|
|
|
return "unknown";
|
|
|
|
|
+ default:
|
|
|
|
|
+ return "unknown";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc
|
|
|
|
|
@@ -329,6 +329,8 @@ PageloadMetrics_ConnectionType ProtoConn
|
|
|
|
|
return PageloadMetrics_ConnectionType_CONNECTION_NONE;
|
|
|
|
|
case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
|
|
|
|
|
return PageloadMetrics_ConnectionType_CONNECTION_BLUETOOTH;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return PageloadMetrics_ConnectionType_CONNECTION_UNKNOWN;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/content/browser/cache_storage/cache_storage_quota_client.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/content/browser/cache_storage/cache_storage_quota_client.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/content/browser/cache_storage/cache_storage_quota_client.cc
|
|
|
|
|
@@ -98,6 +98,8 @@ storage::QuotaClient::ID CacheStorageQuo
|
|
|
|
|
return kServiceWorkerCache;
|
|
|
|
|
case CacheStorageOwner::kBackgroundFetch:
|
|
|
|
|
return kBackgroundFetch;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return kBackgroundFetch;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/media/capture/video/video_capture_device_descriptor.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/media/capture/video/video_capture_device_descriptor.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/media/capture/video/video_capture_device_descriptor.cc
|
|
|
|
|
@@ -92,6 +92,8 @@ const char* VideoCaptureDeviceDescriptor
|
|
|
|
|
return "Camera API2 Limited";
|
|
|
|
|
case VideoCaptureApi::UNKNOWN:
|
|
|
|
|
return "Unknown";
|
|
|
|
|
+ default:
|
|
|
|
|
+ return "Unknown";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/net/nqe/network_quality_estimator.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/net/nqe/network_quality_estimator.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/net/nqe/network_quality_estimator.cc
|
|
|
|
|
@@ -1319,6 +1319,8 @@ base::TimeDelta NetworkQualityEstimator:
|
|
|
|
|
case nqe::internal::OBSERVATION_CATEGORY_COUNT:
|
|
|
|
|
NOTREACHED();
|
|
|
|
|
return base::TimeDelta();
|
|
|
|
|
+ default:
|
|
|
|
|
+ return base::TimeDelta();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/services/audio/public/cpp/audio_system_to_service_adapter.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/services/audio/public/cpp/audio_system_to_service_adapter.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/services/audio/public/cpp/audio_system_to_service_adapter.cc
|
|
|
|
|
@@ -66,6 +66,8 @@ const char* GetTraceEvent(Action action)
|
|
|
|
|
return "AudioSystemToServiceAdapter::GetAssociatedOutputDeviceID";
|
|
|
|
|
case kGetInputDeviceInfo:
|
|
|
|
|
return "AudioSystemToServiceAdapter::GetInputDeviceInfo";
|
|
|
|
|
+ default:
|
|
|
|
|
+ return "Unknown";
|
|
|
|
|
}
|
2018-05-30 11:15:30 +00:00
|
|
|
NOTREACHED();
|
2018-07-25 09:58:33 +00:00
|
|
|
}
|
|
|
|
|
Index: chromium-68.0.3440.17/services/network/cross_origin_read_blocking.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/services/network/cross_origin_read_blocking.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/services/network/cross_origin_read_blocking.cc
|
|
|
|
|
@@ -786,6 +786,8 @@ bool CrossOriginReadBlocking::ResponseAn
|
|
|
|
|
return sniffers_.empty() && !found_blockable_content_;
|
|
|
|
|
case kBlock:
|
|
|
|
|
return false;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -797,6 +799,8 @@ bool CrossOriginReadBlocking::ResponseAn
|
|
|
|
|
return sniffers_.empty() && found_blockable_content_;
|
|
|
|
|
case kBlock:
|
|
|
|
|
return true;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc
|
|
|
|
|
@@ -1139,6 +1139,8 @@ AXTextPosition AXLayoutObject::GetTextPo
|
|
|
|
|
return kAXTextPositionSubscript;
|
|
|
|
|
case EVerticalAlign::kSuper:
|
|
|
|
|
return kAXTextPositionSuperscript;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return AXNodeObject::GetTextPosition();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/third_party/blink/renderer/modules/webaudio/audio_param.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/third_party/blink/renderer/modules/webaudio/audio_param.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/third_party/blink/renderer/modules/webaudio/audio_param.cc
|
|
|
|
|
@@ -144,6 +144,7 @@ String AudioParamHandler::GetParamName()
|
|
|
|
|
return custom_param_name_;
|
|
|
|
|
default:
|
|
|
|
|
NOTREACHED();
|
|
|
|
|
+ return "Unknown";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Index: chromium-68.0.3440.17/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-68.0.3440.17.orig/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
|
|
|
+++ chromium-68.0.3440.17/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
|
|
|
@@ -1288,6 +1288,8 @@ AtkRole AXPlatformNodeAuraLinux::GetAtkR
|
|
|
|
|
case ax::mojom::Role::kPresentational:
|
|
|
|
|
case ax::mojom::Role::kUnknown:
|
|
|
|
|
return ATK_ROLE_REDUNDANT_OBJECT;
|
|
|
|
|
+ default:
|
|
|
|
|
+ return ATK_ROLE_REDUNDANT_OBJECT;
|
|
|
|
|
}
|
2018-05-30 11:15:30 +00:00
|
|
|
}
|
|
|
|
|
|