chromium-browser

This commit is contained in:
Rmys
2018-09-23 16:05:41 +03:00
parent 9694951d1d
commit d875bf8cfd
18 changed files with 1863 additions and 4 deletions
@@ -0,0 +1,21 @@
--- chromium-59.0.3071.86/third_party/swiftshader/src/Reactor/BUILD.gn.gcc-5 2017-06-05 21:04:23.000000000 +0200
+++ chromium-59.0.3071.86/third_party/swiftshader/src/Reactor/BUILD.gn 2017-06-10 18:13:09.946401226 +0200
@@ -92,7 +92,7 @@
cflags += [ "-Wno-sign-compare" ]
}
}
- } else if (is_linux || is_mac) {
+ } else if (is_clang && (is_linux || is_mac)) {
cflags += [ "-Wno-macro-redefined" ]
}
--- chromium-59.0.3071.86/third_party/swiftshader/third_party/subzero/src/IceTargetLowering.cpp.gcc-5 2017-06-05 21:04:24.000000000 +0200
+++ chromium-59.0.3071.86/third_party/swiftshader/third_party/subzero/src/IceTargetLowering.cpp 2017-06-10 19:47:02.404476512 +0200
@@ -48,6 +48,7 @@
// createTargetHeaderLowering(Ice::GlobalContext *);
// void staticInit(::Ice::GlobalContext *);
// }
+#undef SUBZERO_TARGET
#define SUBZERO_TARGET(X) \
namespace X { \
std::unique_ptr<::Ice::TargetLowering> \
@@ -0,0 +1,11 @@
--- chromium-61.0.3163.59/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.bak 2017-08-23 21:08:14.000000000 +0200
+++ chromium-61.0.3163.59/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc 2017-08-29 13:07:50.789475942 +0200
@@ -10,7 +10,7 @@
#include "modules/audio_processing/aec3/aec_state.h"
-#include <math.h>
+#include <cmath>
#include <numeric>
#include <vector>
@@ -0,0 +1,11 @@
--- chromium-62.0.3192.0/cc/paint/paint_op_reader.cc.enum 2017-08-22 21:04:38.000000000 +0200
+++ chromium-62.0.3192.0/cc/paint/paint_op_reader.cc 2017-08-30 19:19:41.082455143 +0200
@@ -54,7 +54,7 @@
bool IsValidSkShaderTileMode(SkShader::TileMode mode) {
// When Skia adds Decal, update this (skbug.com/7638)
- return mode <= SkShader::kMirror_TileMode;
+ return int(mode) <= SkShader::kMirror_TileMode;
}
bool IsValidPaintShaderScalingBehavior(PaintShader::ScalingBehavior behavior) {
@@ -0,0 +1,111 @@
--- chromium-62.0.3192.0/third_party/webrtc/modules/video_processing/video_denoiser.cc.gcc7 2017-08-22 21:06:40.000000000 +0200
+++ chromium-62.0.3192.0/third_party/webrtc/modules/video_processing/video_denoiser.cc 2017-09-08 23:17:25.755051027 +0200
@@ -183,7 +183,7 @@
// artifacts.
if (mb_filter_decision_[mb_index] != FILTER_BLOCK ||
IsTrailingBlock(moving_edge_, mb_row, mb_col) ||
- (x_density_[mb_col] * y_density_[mb_row] &&
+ ((x_density_[mb_col] * y_density_[mb_row] != 0) &&
moving_object_[mb_row * mb_cols_ + mb_col])) {
// Copy y source.
filter_->CopyMem16x16(mb_src, stride_src, mb_dst, stride_dst);
--- chromium-62.0.3192.0/extensions/common/permissions/settings_override_permission.cc.gcc7 2017-08-22 21:04:44.000000000 +0200
+++ chromium-62.0.3192.0/extensions/common/permissions/settings_override_permission.cc 2017-09-09 00:43:40.708568094 +0200
@@ -43,7 +43,9 @@
bool SettingsOverrideAPIPermission::Equal(const APIPermission* rhs) const {
if (this != rhs)
+ {
CHECK_EQ(info(), rhs->info());
+ }
return true;
}
--- chromium-62.0.3192.0/third_party/cacheinvalidation/src/google/cacheinvalidation/include/types.h.gcc7 2017-08-22 21:05:01.000000000 +0200
+++ chromium-62.0.3192.0/third_party/cacheinvalidation/src/google/cacheinvalidation/include/types.h 2017-09-09 00:47:09.190945226 +0200
@@ -174,7 +174,7 @@
*/
class ObjectId {
public:
- ObjectId() : is_initialized_(false) {}
+ ObjectId() : is_initialized_(false), source_(0) {}
/* Creates an object id for the given source and name (the name is copied). */
ObjectId(int source, const string& name)
--- chromium-62.0.3192.0/extensions/common/permissions/api_permission.cc.gcc7 2017-08-22 21:04:44.000000000 +0200
+++ chromium-62.0.3192.0/extensions/common/permissions/api_permission.cc 2017-09-09 01:26:10.983202025 +0200
@@ -36,7 +36,9 @@
bool Equal(const APIPermission* rhs) const override {
if (this != rhs)
+ {
CHECK_EQ(info(), rhs->info());
+ }
return true;
}
--- chromium-62.0.3192.0/content/browser/frame_host/navigation_controller_impl.cc.gcc7 2017-08-22 21:04:43.000000000 +0200
+++ chromium-62.0.3192.0/content/browser/frame_host/navigation_controller_impl.cc 2017-09-09 01:53:03.860647419 +0200
@@ -980,7 +980,9 @@
// TODO(creis): This check won't pass for subframes until we create entries
// for subframe navigations.
if (!rfh->GetParent())
+ {
CHECK_EQ(active_entry->site_instance(), rfh->GetSiteInstance());
+ }
// Remember the bindings the renderer process has at this point, so that
// we do not grant this entry additional bindings if we come back to it.
--- chromium-62.0.3192.0/content/browser/frame_host/navigator_impl.cc.gcc7 2017-08-22 21:04:43.000000000 +0200
+++ chromium-62.0.3192.0/content/browser/frame_host/navigator_impl.cc 2017-09-09 02:05:15.758922091 +0200
@@ -411,11 +411,15 @@
// Make sure no code called via RFH::Navigate clears the pending entry.
if (is_pending_entry)
+ {
CHECK_EQ(nav_entry_id, controller_->GetPendingEntry()->GetUniqueID());
+ }
// Notify observers about navigation.
if (delegate_ && is_pending_entry)
+ {
delegate_->DidStartNavigationToPendingEntry(dest_url, reload_type);
+ }
}
void NavigatorImpl::RequestOpenURL(
--- chromium-62.0.3192.0/content/browser/frame_host/render_frame_host_manager.cc.gcc7 2017-08-22 21:04:43.000000000 +0200
+++ chromium-62.0.3192.0/content/browser/frame_host/render_frame_host_manager.cc 2017-09-09 02:07:40.371353881 +0200
@@ -1030,7 +1030,9 @@
// SiteInstance and the same frame, breaking lookup of RenderFrameHosts by
// SiteInstance.
if (force_swap)
+ {
CHECK_NE(new_instance, current_instance);
+ }
if (new_instance == current_instance) {
// If we're navigating to the same site instance, we won't need to use the
--- chromium-62.0.3192.0/media/cast/receiver/video_decoder.cc.gcc7 2017-08-22 21:04:45.000000000 +0200
+++ chromium-62.0.3192.0/media/cast/receiver/video_decoder.cc 2017-09-09 05:02:17.907818439 +0200
@@ -133,7 +133,9 @@
private:
~Vp8Impl() final {
if (ImplBase::operational_status_ == STATUS_INITIALIZED)
+ {
CHECK_EQ(VPX_CODEC_OK, vpx_codec_destroy(&context_));
+ }
}
scoped_refptr<VideoFrame> Decode(uint8_t* data, int len) final {
--- chromium-62.0.3202.9/third_party/skia/src/ports/SkTLS_pthread.cpp.gcc7 2017-09-11 04:39:22.554714295 +0200
+++ chromium-62.0.3202.9/third_party/skia/src/ports/SkTLS_pthread.cpp 2017-09-11 04:39:45.663296012 +0200
@@ -16,7 +16,7 @@
// should we use forceCreateTheSlot to potentially just return nullptr if
// we've never been called with forceCreateTheSlot==true ?
static SkOnce once;
- once(pthread_key_create, &gSkTLSKey, SkTLS::Destructor);
+ once(&pthread_key_create, &gSkTLSKey, SkTLS::Destructor);
return pthread_getspecific(gSkTLSKey);
}
@@ -0,0 +1,84 @@
--- chromium-64.0.3282.71/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc.gcc7 2018-01-04 00:06:33.000000000 +0100
+++ chromium-64.0.3282.71/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc 2018-01-07 10:30:57.354614167 +0100
@@ -594,24 +594,6 @@
UCNV_FROM_U_CALLBACK_ESCAPE(context, from_unicode_args, code_units, length,
code_point, reason, err);
}
-
-static void GbkCallbackSubstitute(const void* context,
- UConverterFromUnicodeArgs* from_unicode_args,
- const UChar* code_units,
- int32_t length,
- UChar32 code_point,
- UConverterCallbackReason reason,
- UErrorCode* err) {
- UChar out_char;
- if (reason == UCNV_UNASSIGNED && (out_char = FallbackForGBK(code_point))) {
- const UChar* source = &out_char;
- *err = U_ZERO_ERROR;
- ucnv_cbFromUWriteUChars(from_unicode_args, &source, source + 1, 0, err);
- return;
- }
- UCNV_FROM_U_CALLBACK_SUBSTITUTE(context, from_unicode_args, code_units,
- length, code_point, reason, err);
-}
#endif // USING_SYSTEM_ICU
class TextCodecInput final {
--- chromium-64.0.3282.71/third_party/blink/renderer/core/paint/paint_property_tree_builder.cc.gcc7 2018-01-04 00:06:29.000000000 +0100
+++ chromium-64.0.3282.71/third_party/blink/renderer/core/paint/paint_property_tree_builder.cc 2018-01-07 21:47:33.628080370 +0100
@@ -2297,17 +2297,14 @@ bool PaintPropertyTreeBuilder::ObjectTyp
}
void PaintPropertyTreeBuilder::UpdatePaintingLayer() {
- bool changed_painting_layer = false;
if (object_.HasLayer() &&
ToLayoutBoxModelObject(object_).HasSelfPaintingLayer()) {
context_.painting_layer = ToLayoutBoxModelObject(object_).Layer();
- changed_painting_layer = true;
} else if (object_.IsColumnSpanAll() ||
object_.IsFloatingWithNonContainingBlockParent()) {
// See LayoutObject::paintingLayer() for the special-cases of floating under
// inline and multicolumn.
context_.painting_layer = object_.PaintingLayer();
- changed_painting_layer = true;
}
DCHECK(context_.painting_layer == object_.PaintingLayer());
}
--- chromium-64.0.3282.71/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.cc.gcc7 2018-01-04 00:06:32.000000000 +0100
+++ chromium-64.0.3282.71/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.cc 2018-01-07 22:06:16.757401299 +0100
@@ -1127,7 +1127,6 @@
,
FixedAllocations* __restrict fixed) {
const int32_t input0_shape[] = {1, 4};
- int32_t logits_MatMul_merged_with_dnn_logits_BiasAdd0_shape[2];
// dnn/hiddenlayer_0/MatMul_merged_with_dnn/hiddenlayer_0/BiasAdd
FullyConnected<float>(input0_shape, input0,
@@ -1150,8 +1149,6 @@
dnn_logits_weights_part_0.values, dnn_logits_biases_part_0_shape,
dnn_logits_biases_part_0.values,
logits_MatMul_merged_with_dnn_logits_BiasAdd0);
- logits_MatMul_merged_with_dnn_logits_BiasAdd0_shape[0] = 1;
- logits_MatMul_merged_with_dnn_logits_BiasAdd0_shape[1] = 1;
}
} // namespace highcontrast_tfnative_model
--- chromium-64.0.3282.71/extensions/renderer/runtime_custom_bindings.cc.gcc7 2018-01-04 00:06:04.000000000 +0100
+++ chromium-64.0.3282.71/extensions/renderer/runtime_custom_bindings.cc 2018-01-08 01:59:41.213107482 +0100
@@ -60,11 +60,15 @@
ViewType view_type = VIEW_TYPE_INVALID;
bool parsed_view_type = GetViewTypeFromString(view_type_string, &view_type);
if (!parsed_view_type)
+ {
CHECK_EQ("ALL", view_type_string);
+ }
const std::string& extension_id = context()->GetExtensionID();
if (extension_id.empty())
+ {
return;
+ }
v8::Local<v8::Context> v8_context = args.GetIsolate()->GetCurrentContext();
// We ignore iframes here. (Returning subframes can cause broken behavior by
@@ -0,0 +1,32 @@
--- chromium-65.0.3325.51/ui/gfx/ipc/buffer_types/gfx_param_traits.cc.format 2018-02-06 21:06:22.000000000 +0100
+++ chromium-65.0.3325.51/ui/gfx/ipc/buffer_types/gfx_param_traits.cc 2018-02-17 02:35:15.445832776 +0100
@@ -30,7 +30,7 @@
void ParamTraits<gfx::BufferUsageAndFormat>::Log(
const gfx::BufferUsageAndFormat& p,
std::string* l) {
- l->append(base::StringPrintf("(%d, %d)", p.usage, p.format));
+ l->append(base::StringPrintf("(%d, %d)", int(p.usage), int(p.format)));
}
} // namespace IPC
--- chromium-65.0.3325.51/components/assist_ranker/ranker_example_util.cc.gcc7 2018-02-06 21:05:28.000000000 +0100
+++ chromium-65.0.3325.51/components/assist_ranker/ranker_example_util.cc 2018-02-17 03:15:17.577865763 +0100
@@ -9,6 +9,8 @@
#include "base/metrics/metrics_hashes.h"
#include "base/strings/stringprintf.h"
+#include <cmath>
+
namespace assist_ranker {
namespace {
const uint64_t MASK32Bits = (1LL << 32) - 1;
--- chromium-65.0.3325.51/chrome/browser/vr/sample_queue.h.gcc7 2018-02-06 21:05:25.000000000 +0100
+++ chromium-65.0.3325.51/chrome/browser/vr/sample_queue.h 2018-02-17 20:35:26.406726748 +0100
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_VR_SAMPLE_QUEUE_H_
#include <vector>
+#include <cstdint>
#include "base/macros.h"
@@ -0,0 +1,69 @@
--- chromium-66.0.3359.66/ui/gfx/ipc/skia/gfx_skia_param_traits_macros.h.gcc7_5 2018-03-30 17:16:10.416384243 +0200
+++ chromium-66.0.3359.66/ui/gfx/ipc/skia/gfx_skia_param_traits_macros.h 2018-03-30 17:17:45.715797731 +0200
@@ -10,7 +10,7 @@
#include "ipc/ipc_message_macros.h"
#include "third_party/skia/include/core/SkImageInfo.h"
-IPC_ENUM_TRAITS_VALIDATE(SkColorType, kLastEnum_SkColorType);
-IPC_ENUM_TRAITS_VALIDATE(SkAlphaType, kLastEnum_SkAlphaType);
+IPC_ENUM_TRAITS_VALIDATE(SkColorType, kLastEnum_SkColorType != 0);
+IPC_ENUM_TRAITS_VALIDATE(SkAlphaType, kLastEnum_SkAlphaType != 0);
#endif // UI_GFX_IPC_SKIA_GFX_SKIA_PARAM_TRAITS_MACROS_H_
--- chromium-66.0.3359.66/components/autofill/core/common/autofill_regexes.cc.gcc7-5 2018-03-28 21:10:54.000000000 +0200
+++ chromium-66.0.3359.66/components/autofill/core/common/autofill_regexes.cc 2018-03-30 17:59:39.857829411 +0200
@@ -54,10 +54,6 @@
g_autofill_regexes_tls.Pointer()->Set(this);
}
-AutofillRegexes::~AutofillRegexes() {
- g_autofill_regexes_tls.Pointer()->Set(nullptr);
-}
-
icu::RegexMatcher* AutofillRegexes::GetMatcher(const base::string16& pattern) {
auto it = matchers_.find(pattern);
if (it == matchers_.end()) {
--- chromium-66.0.3359.66/chrome/browser/notifications/notification_permission_context.cc.gcc7-5 2018-03-28 21:10:50.000000000 +0200
+++ chromium-66.0.3359.66/chrome/browser/notifications/notification_permission_context.cc 2018-04-01 20:19:51.928280032 +0200
@@ -42,9 +42,6 @@
base::TimeDelta visible_delay,
const PermissionRequestID& id);
- // Deletes any earlier task(s) that match |id|.
- void CancelTask(const PermissionRequestID& id);
-
// WebContentsObserver:
void OnVisibilityChanged(content::Visibility visibility) override;
void WebContentsDestroyed() override;
@@ -119,15 +116,6 @@
task_queue_.front().timer->Reset();
}
-void VisibilityTimerTabHelper::CancelTask(const PermissionRequestID& id) {
- bool deleting_front = task_queue_.front().id == id;
-
- base::EraseIf(task_queue_, [id](const Task& task) { return task.id == id; });
-
- if (!task_queue_.empty() && is_visible_ && deleting_front)
- task_queue_.front().timer->Reset();
-}
-
void VisibilityTimerTabHelper::OnVisibilityChanged(
content::Visibility visibility) {
if (visibility == content::Visibility::VISIBLE) {
--- chromium-66.0.3359.66/third_party/blink/renderer/platform/mhtml/mhtml_parser.cc.gcc7-5 2018-04-02 02:25:58.873350066 +0200
+++ chromium-66.0.3359.66/third_party/blink/renderer/platform/mhtml/mhtml_parser.cc 2018-04-02 02:27:48.929444720 +0200
@@ -316,9 +316,10 @@
// In order to support parsing the MHTML archive file produced before the
// MHTMLArchive bug was fixed, we need to take a risk of stripping off the
// CRLF that indeed belongs to the content.
- if (content.size() >= 2 && content[content.size() - 2] == '\r' &&
- content[content.size() - 1] == '\n') {
- content.resize(content.size() - 2);
+ size_t size = content.size();
+ if (size >= 2 && content[size - 2] == '\r' &&
+ content[size - 1] == '\n') {
+ content.resize(size - 2);
}
Vector<char> next_chars;
@@ -0,0 +1,155 @@
--- chromium-67.0.3396.10/third_party/crashpad/crashpad/client/crashpad_info.h.gcc7 2018-04-18 21:05:43.000000000 +0200
+++ chromium-67.0.3396.10/third_party/crashpad/crashpad/client/crashpad_info.h 2018-04-22 14:48:58.402613864 +0200
@@ -220,7 +220,7 @@
size_t size);
enum : uint32_t {
- kSignature = 'CPad',
+ kSignature = 0x43506164, // 'CPad'
};
private:
--- chromium-67.0.3396.10/third_party/crashpad/crashpad/client/settings.cc.gcc7 2018-04-18 21:05:43.000000000 +0200
+++ chromium-67.0.3396.10/third_party/crashpad/crashpad/client/settings.cc 2018-04-22 14:56:49.200391358 +0200
@@ -84,7 +84,7 @@
#endif // OS_FUCHSIA
struct Settings::Data {
- static const uint32_t kSettingsMagic = 'CPds';
+ static const uint32_t kSettingsMagic = 0x43506473; //'CPds'
static const uint32_t kSettingsVersion = 1;
enum Options : uint32_t {
--- chromium-67.0.3396.10/third_party/crashpad/crashpad/util/misc/pdb_structures.h.gcc7 2018-04-18 21:05:43.000000000 +0200
+++ chromium-67.0.3396.10/third_party/crashpad/crashpad/util/misc/pdb_structures.h 2018-04-22 15:25:05.626833340 +0200
@@ -41,7 +41,7 @@
//!
//! In a hex dump, this will appear as “NB10” when produced by a little-endian
//! machine.
- static const uint32_t kSignature = '01BN';
+ static const uint32_t kSignature = 0x3031424e; // '01BN'
//! \brief The magic number identifying this structure version, the value of
//! #kSignature.
@@ -102,7 +102,7 @@
//!
//! In a hex dump, this will appear as “RSDS” when produced by a little-endian
//! machine.
- static const uint32_t kSignature = 'SDSR';
+ static const uint32_t kSignature = 0x53445352; // 'SDSR'
//! \brief The magic number identifying this structure version, the value of
//! #kSignature.
--- chromium-67.0.3396.10/headless/lib/browser/protocol/browser_handler.cc.gcc7 2018-04-18 21:04:50.000000000 +0200
+++ chromium-67.0.3396.10/headless/lib/browser/protocol/browser_handler.cc 2018-04-22 17:26:04.113469026 +0200
@@ -71,7 +71,7 @@
Response BrowserHandler::SetWindowBounds(
int window_id,
std::unique_ptr<Browser::Bounds> window_bounds) {
- HeadlessWebContentsImpl* web_contents = web_contents =
+ HeadlessWebContentsImpl* web_contents =
browser()->GetWebContentsForWindowId(window_id);
if (!web_contents)
return Response::Error("Browser window not found");
--- chromium-67.0.3396.10/chrome/browser/ui/webui/discards/discards_ui.cc.gcc7 2018-04-18 21:04:40.000000000 +0200
+++ chromium-67.0.3396.10/chrome/browser/ui/webui/discards/discards_ui.cc 2018-04-22 18:15:26.594324206 +0200
@@ -44,7 +44,7 @@
case content::Visibility::VISIBLE:
return mojom::LifecycleUnitVisibility::VISIBLE;
}
-#if defined(COMPILER_MSVC)
+#if defined(COMPILER_MSVC) || defined(COMPILER_GCC)
NOTREACHED();
return mojom::LifecycleUnitVisibility::VISIBLE;
#endif
--- chromium-67.0.3396.10/third_party/blink/renderer/core/frame/local_frame_view.cc.gcc7 2018-04-18 21:05:39.000000000 +0200
+++ chromium-67.0.3396.10/third_party/blink/renderer/core/frame/local_frame_view.cc 2018-04-22 21:37:37.030626382 +0200
@@ -4096,8 +4095,7 @@
scrollable_areas_ = new ScrollableAreaSet;
scrollable_areas_->insert(scrollable_area);
- if (ScrollingCoordinator* scrolling_coordinator =
- this->GetScrollingCoordinator()) {
+ if (this->GetScrollingCoordinator() != NULL) {
ScrollableAreasDidChange();
}
}
@@ -4107,8 +4105,7 @@
return;
scrollable_areas_->erase(scrollable_area);
- if (ScrollingCoordinator* scrolling_coordinator =
- this->GetScrollingCoordinator()) {
+ if (this->GetScrollingCoordinator() != NULL) {
ScrollableAreasDidChange();
}
}
@@ -4132,7 +4129,9 @@
// TODO(crbug.com/729196): Trace why LocalFrameView::DetachFromLayout crashes.
CHECK(!is_attached_);
if (frame_->GetDocument())
+ {
CHECK_NE(Lifecycle().GetState(), DocumentLifecycle::kStopping);
+ }
is_attached_ = true;
parent_ = ParentFrameView();
if (!parent_) {
@@ -5296,8 +5295,7 @@
void LocalFrameView::Show() {
if (!IsSelfVisible()) {
SetSelfVisible(true);
- if (ScrollingCoordinator* scrolling_coordinator =
- this->GetScrollingCoordinator()) {
+ if (this->GetScrollingCoordinator() != NULL) {
GetScrollingContext()->SetScrollGestureRegionIsDirty(true);
}
SetNeedsCompositingUpdate(kCompositingUpdateRebuildTree);
@@ -5325,8 +5323,7 @@
});
}
SetSelfVisible(false);
- if (ScrollingCoordinator* scrolling_coordinator =
- this->GetScrollingCoordinator()) {
+ if (this->GetScrollingCoordinator() != NULL) {
GetScrollingContext()->SetScrollGestureRegionIsDirty(true);
}
SetNeedsCompositingUpdate(kCompositingUpdateRebuildTree);
--- chromium-67.0.3396.10/third_party/blink/renderer/core/html/parser/html_tree_builder.cc.gcc7 2018-04-18 21:05:39.000000000 +0200
+++ chromium-67.0.3396.10/third_party/blink/renderer/core/html/parser/html_tree_builder.cc 2018-04-22 22:29:51.951074679 +0200
@@ -943,7 +943,7 @@
}
if (token->GetName() == colTag) {
ProcessFakeStartTag(colgroupTag);
- DCHECK(kInColumnGroupMode);
+ DCHECK(kInColumnGroupMode != 0);
ProcessStartTag(token);
return;
}
--- chromium-67.0.3396.10/third_party/blink/renderer/core/page/focus_controller.cc.gcc7 2018-04-18 21:05:40.000000000 +0200
+++ chromium-67.0.3396.10/third_party/blink/renderer/core/page/focus_controller.cc 2018-04-22 23:10:03.717765400 +0200
@@ -333,25 +333,6 @@
return nullptr;
}
-bool ScopedFocusNavigation::IsSlotFallbackScoped(const Element& element) {
- return ScopedFocusNavigation::FindFallbackScopeOwnerSlot(element);
-}
-
-bool ScopedFocusNavigation::IsSlotFallbackScopedForThisSlot(
- const HTMLSlotElement& slot,
- const Element& current) {
- Element* parent = current.parentElement();
- while (parent) {
- if (IsHTMLSlotElement(parent) &&
- ToHTMLSlotElement(parent)->AssignedNodes().IsEmpty()) {
- return !SlotScopedTraversal::IsSlotScoped(current) &&
- ToHTMLSlotElement(parent) == slot;
- }
- parent = parent->parentElement();
- }
- return false;
-}
-
inline void DispatchBlurEvent(const Document& document,
Element& focused_element) {
focused_element.DispatchBlurEvent(nullptr, kWebFocusTypePage);
@@ -0,0 +1,211 @@
--- chromium-68.0.3418.2/base/allocator/partition_allocator/partition_alloc_constants.h.gcc7 2018-05-04 06:05:09.000000000 +0200
+++ chromium-68.0.3418.2/base/allocator/partition_allocator/partition_alloc_constants.h 2018-05-07 23:44:01.047768997 +0200
@@ -9,6 +9,8 @@
#include "base/bits.h"
#include "base/logging.h"
+#include <climits>
+
namespace base {
// Allocation granularity of sizeof(void*) bytes.
--- chromium-68.0.3418.2/media/capture/video/video_capture_device_descriptor.cc.gcc7 2018-05-04 06:05:23.000000000 +0200
+++ chromium-68.0.3418.2/media/capture/video/video_capture_device_descriptor.cc 2018-05-08 01:07:51.984718931 +0200
@@ -93,6 +93,7 @@
case VideoCaptureApi::VIRTUAL_DEVICE:
return "Virtual Device";
case VideoCaptureApi::UNKNOWN:
+ default:
return "Unknown";
}
}
--- chromium-68.0.3418.2/net/nqe/network_quality_estimator.cc.gcc7 2018-05-04 06:05:25.000000000 +0200
+++ chromium-68.0.3418.2/net/nqe/network_quality_estimator.cc 2018-05-08 01:51:43.640113593 +0200
@@ -1307,6 +1307,7 @@
percentile, observations_count)
.value_or(nqe::internal::INVALID_RTT_THROUGHPUT));
case nqe::internal::OBSERVATION_CATEGORY_COUNT:
+ default:
NOTREACHED();
return base::TimeDelta();
}
--- chromium-68.0.3418.2/components/cast_channel/cast_message_util.cc.gcc7 2018-05-04 06:05:16.000000000 +0200
+++ chromium-68.0.3418.2/components/cast_channel/cast_message_util.cc 2018-05-08 03:30:15.218856130 +0200
@@ -284,6 +284,7 @@
case GetAppAvailabilityResult::kUnavailable:
return "unavailable";
case GetAppAvailabilityResult::kUnknown:
+ default:
return "unknown";
}
}
--- chromium-68.0.3418.2/services/network/cross_origin_read_blocking.cc.gcc7 2018-05-04 06:05:26.000000000 +0200
+++ chromium-68.0.3418.2/services/network/cross_origin_read_blocking.cc 2018-05-08 04:58:22.484383246 +0200
@@ -729,6 +729,7 @@
case kNeedToSniffMore:
return sniffers_.empty() && !found_blockable_content_;
case kBlock:
+ default:
return false;
}
}
@@ -740,6 +741,7 @@
case kNeedToSniffMore:
return sniffers_.empty() && found_blockable_content_;
case kBlock:
+ default:
return true;
}
}
--- chromium-68.0.3418.2/third_party/blink/renderer/modules/webaudio/audio_param.cc.gcc7 2018-05-04 06:05:50.000000000 +0200
+++ chromium-68.0.3418.2/third_party/blink/renderer/modules/webaudio/audio_param.cc 2018-05-13 16:16:36.362212522 +0200
@@ -144,6 +144,7 @@
return custom_param_name_;
default:
NOTREACHED();
+ return "";
}
}
--- chromium-68.0.3440.7/third_party/crashpad/crashpad/util/net/http_transport_socket.cc.gcc7 2018-05-31 12:46:18.000000000 +0200
+++ chromium-68.0.3440.7/third_party/crashpad/crashpad/util/net/http_transport_socket.cc 2018-06-02 15:30:05.860916765 +0200
@@ -210,8 +210,13 @@ bool WriteRequest(int sock,
do {
constexpr size_t kCRLFSize = arraysize(kCRLFTerminator) - 1;
struct __attribute__((packed)) {
- char size[8];
- char crlf[2];
+ union {
+ struct {
+ char size[8];
+ char crlf[2];
+ };
+ char size_and_crlf[10];
+ };
uint8_t data[32 * 1024 + kCRLFSize];
} buf;
static_assert(
@@ -238,7 +243,7 @@ bool WriteRequest(int sock,
// Not snprintf because non-null terminated is desired.
int rv = sprintf(
- buf.size, "%08x", base::checked_cast<unsigned int>(data_bytes));
+ buf.size_and_crlf, "%08x", base::checked_cast<unsigned int>(data_bytes));
DCHECK_GE(rv, 0);
DCHECK_EQ(static_cast<size_t>(rv), sizeof(buf.size));
DCHECK_NE(buf.size[sizeof(buf.size) - 1], '\0');
--- chromium-68.0.3440.7/services/audio/public/cpp/audio_system_to_service_adapter.cc.gcc7 2018-05-31 12:45:46.000000000 +0200
+++ chromium-68.0.3440.7/services/audio/public/cpp/audio_system_to_service_adapter.cc 2018-06-02 16:23:31.460186468 +0200
@@ -68,6 +68,7 @@
return "AudioSystemToServiceAdapter::GetInputDeviceInfo";
}
NOTREACHED();
+ return NULL;
}
void LogUMA(Action action, base::TimeTicks start_time) {
--- chromium-68.0.3440.7/cc/input/snap_fling_controller.cc.gcc7 2018-05-31 12:45:27.000000000 +0200
+++ chromium-68.0.3440.7/cc/input/snap_fling_controller.cc 2018-06-02 16:44:43.320656957 +0200
@@ -27,6 +27,8 @@
return state_ == State::kActive || state_ == State::kFinished;
}
}
+ // should not be reached
+ return false;
}
void SnapFlingController::ClearSnapFling() {
--- chromium-68.0.3440.7/components/bookmarks/browser/bookmark_storage.h.gcc7 2018-05-31 12:45:36.000000000 +0200
+++ chromium-68.0.3440.7/components/bookmarks/browser/bookmark_storage.h 2018-06-02 16:54:37.974209537 +0200
@@ -19,6 +19,7 @@
#include "base/memory/weak_ptr.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "components/bookmarks/browser/titled_url_index.h"
+#include "components/bookmarks/browser/url_index.h"
namespace base {
class SequencedTaskRunner;
@@ -29,7 +30,6 @@
class BookmarkClient;
class BookmarkModel;
class BookmarkNode;
-class UrlIndex;
// A list of BookmarkPermanentNodes that owns them.
using BookmarkPermanentNodeList =
--- chromium-68.0.3440.7/components/autofill/core/browser/autofill_manager.cc.gcc7 2018-05-31 12:45:36.000000000 +0200
+++ chromium-68.0.3440.7/components/autofill/core/browser/autofill_manager.cc 2018-06-02 17:06:51.007106694 +0200
@@ -303,6 +303,7 @@ PopupType AutofillManager::GetPopupType(
default:
NOTREACHED();
+ return PopupType::kUnspecified;
}
}
--- chromium-68.0.3440.7/content/browser/web_package/signed_exchange_handler.cc.gcc7 2018-05-31 12:45:40.000000000 +0200
+++ chromium-68.0.3440.7/content/browser/web_package/signed_exchange_handler.cc 2018-06-02 19:13:50.092986453 +0200
@@ -362,7 +362,7 @@
base::StringPrintf(
"OCSP check failed. response status: %d, revocation status: %d",
cert_verify_result_.ocsp_result.response_status,
- cert_verify_result_.ocsp_result.revocation_status),
+ int(cert_verify_result_.ocsp_result.revocation_status)),
std::make_pair(0 /* signature_index */,
SignedExchangeError::Field::kSignatureCertUrl));
RunErrorCallback(net::ERR_INVALID_SIGNED_EXCHANGE);
--- chromium-68.0.3440.7/content/browser/cache_storage/cache_storage_quota_client.cc.gcc7 2018-05-31 12:45:39.000000000 +0200
+++ chromium-68.0.3440.7/content/browser/cache_storage/cache_storage_quota_client.cc 2018-06-02 19:36:54.786503931 +0200
@@ -99,6 +99,7 @@
case CacheStorageOwner::kBackgroundFetch:
return kBackgroundFetch;
}
+ return storage::QuotaClient::ID(0);
}
} // namespace content
--- chromium-68.0.3440.7/content/browser/renderer_host/render_widget_host_view_base.cc.gcc7 2018-05-31 12:45:40.000000000 +0200
+++ chromium-68.0.3440.7/content/browser/renderer_host/render_widget_host_view_base.cc 2018-06-02 20:27:56.685605639 +0200
@@ -227,7 +227,7 @@
if (default_background_color_ == color)
return;
- bool opaque = default_background_color_
+ int opaque = default_background_color_
? SkColorGetA(*default_background_color_)
: SK_AlphaOPAQUE;
default_background_color_ = color;
--- chromium-68.0.3440.7/ui/accessibility/platform/ax_platform_node_auralinux.cc.gcc7 2018-05-31 12:46:30.000000000 +0200
+++ chromium-68.0.3440.7/ui/accessibility/platform/ax_platform_node_auralinux.cc 2018-06-02 20:45:03.373900877 +0200
@@ -1289,6 +1289,8 @@ AtkRole AXPlatformNodeAuraLinux::GetAtkR
case ax::mojom::Role::kUnknown:
return ATK_ROLE_REDUNDANT_OBJECT;
}
+ // should not be reached
+ return AtkRole(0);
}
void AXPlatformNodeAuraLinux::GetAtkState(AtkStateSet* atk_state_set) {
--- chromium-68.0.3440.7/ui/aura/hit_test_data_provider_aura.cc.gcc7 2018-05-31 12:46:30.000000000 +0200
+++ chromium-68.0.3440.7/ui/aura/hit_test_data_provider_aura.cc 2018-06-02 20:55:53.154472628 +0200
@@ -53,8 +53,8 @@ base::Optional<viz::HitTestRegionList> H
hit_test_region_list->flags =
event_targeting_policy ==
ui::mojom::EventTargetingPolicy::DESCENDANTS_ONLY
- ? viz::HitTestRegionFlags::kHitTestIgnore
- : viz::HitTestRegionFlags::kHitTestMine;
+ ? uint32_t(viz::HitTestRegionFlags::kHitTestIgnore)
+ : uint32_t(viz::HitTestRegionFlags::kHitTestMine);
// TODO(crbug.com/805416): Use pixels instead of DIP units for bounds.
hit_test_region_list->bounds = window_->bounds();
--- chromium-68.0.3440.7/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc.gcc7 2018-05-31 12:46:13.000000000 +0200
+++ chromium-68.0.3440.7/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc 2018-06-03 01:23:30.476302728 +0200
@@ -1140,6 +1140,7 @@
case EVerticalAlign::kSuper:
return kAXTextPositionSuperscript;
}
+ return AXTextPosition(0);
}
int AXLayoutObject::TextLength() const {
@@ -0,0 +1,812 @@
--- chromium-68.0.3440.106/base/metrics/histogram_samples.cc.gcc8 2018-08-08 21:10:31.000000000 +0200
+++ chromium-68.0.3440.106/base/metrics/histogram_samples.cc 2018-08-14 02:31:33.960840778 +0200
@@ -172,7 +172,9 @@
HistogramSamples::LocalMetadata::LocalMetadata() {
// This is the same way it's done for persistent metadata since no ctor
// is called for the data members in that case.
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(this, 0, sizeof(*this));
+#pragma GCC diagnostic pop
}
HistogramSamples::HistogramSamples(uint64_t id, Metadata* meta)
--- chromium-68.0.3440.106/mojo/core/data_pipe_consumer_dispatcher.cc.gcc8 2018-08-14 03:11:50.492927855 +0200
+++ chromium-68.0.3440.106/mojo/core/data_pipe_consumer_dispatcher.cc 2018-08-14 03:12:32.254163933 +0200
@@ -40,7 +40,7 @@
uint64_t buffer_guid_high;
uint64_t buffer_guid_low;
char padding[7];
-};
+} __attribute__ ((aligned(8)));
static_assert(sizeof(SerializedState) % 8 == 0,
"Invalid SerializedState size.");
--- chromium-68.0.3440.106/mojo/core/data_pipe_producer_dispatcher.cc.gcc8 2018-08-14 03:11:52.923883382 +0200
+++ chromium-68.0.3440.106/mojo/core/data_pipe_producer_dispatcher.cc 2018-08-14 03:12:35.341107472 +0200
@@ -39,7 +39,7 @@
uint64_t buffer_guid_high;
uint64_t buffer_guid_low;
char padding[7];
-};
+} __attribute__ ((aligned(8)));
static_assert(sizeof(SerializedState) % 8 == 0,
"Invalid SerializedState size.");
--- chromium-68.0.3440.106/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl.gcc8 2018-08-14 21:12:13.141558150 +0200
+++ chromium-68.0.3440.106/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl 2018-08-14 21:13:14.068493440 +0200
@@ -1,6 +1,6 @@
{%- set class_name = struct.name ~ "_Data" -%}
-class {{export_attribute}} {{class_name}} {
+class {{export_attribute}} __attribute__ ((aligned(8))) {{class_name}} {
public:
class BufferWriter {
public:
--- chromium-68.0.3440.106/mojo/public/tools/bindings/generators/cpp_templates/union_declaration.tmpl.gcc8 2018-08-14 21:12:15.324520008 +0200
+++ chromium-68.0.3440.106/mojo/public/tools/bindings/generators/cpp_templates/union_declaration.tmpl 2018-08-14 21:13:16.724447019 +0200
@@ -2,7 +2,7 @@
{%- set enum_name = union.name ~ "_Tag" -%}
{%- import "struct_macros.tmpl" as struct_macros %}
-class {{export_attribute}} {{class_name}} {
+class {{export_attribute}} __attribute__ ((aligned(8))) {{class_name}} {
public:
// Used to identify Mojom Union Data Classes.
typedef void MojomUnionDataType;
--- chromium-68.0.3440.106/third_party/angle/src/libANGLE/VertexArray.cpp.gcc8 2018-08-08 21:13:09.000000000 +0200
+++ chromium-68.0.3440.106/third_party/angle/src/libANGLE/VertexArray.cpp 2018-08-14 21:24:50.555374549 +0200
@@ -306,12 +306,14 @@
mDirtyBits.reset();
mDirtyBitsGuard.reset();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
// This is a bit of an implementation hack - but since we know the implementation
// details of the dirty bit class it should always have the same effect as iterating
// individual attribs. We could also look into schemes where iterating the dirty
// bit set also resets it as you pass through it.
memset(&mDirtyAttribBits, 0, sizeof(mDirtyAttribBits));
memset(&mDirtyBindingBits, 0, sizeof(mDirtyBindingBits));
+#pragma GCC diagnostic pop
}
return gl::NoError();
}
--- chromium-68.0.3440.106/third_party/angle/src/libANGLE/renderer/vulkan/vk_cache_utils.cpp.gcc8 2018-08-08 21:13:09.000000000 +0200
+++ chromium-68.0.3440.106/third_party/angle/src/libANGLE/renderer/vulkan/vk_cache_utils.cpp 2018-08-14 21:35:47.655983018 +0200
@@ -350,7 +350,9 @@
PipelineDesc &PipelineDesc::operator=(const PipelineDesc &other)
{
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(this, &other, sizeof(PipelineDesc));
+#pragma GCC diagnostic pop
return *this;
}
--- chromium-68.0.3440.106/third_party/webrtc/modules/audio_processing/include/audio_processing.h.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/audio_processing/include/audio_processing.h 2018-08-14 21:40:29.208073793 +0200
@@ -292,7 +292,9 @@
// sanitizer builds.
Config& operator=(const Config& config) {
if (this != &config) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(this, &config, sizeof(*this));
+#pragma GCC diagnostic pop
}
return *this;
}
--- chromium-68.0.3440.106/third_party/webrtc/modules/audio_processing/echo_cancellation_impl.cc.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/audio_processing/echo_cancellation_impl.cc 2018-08-14 21:46:52.906368109 +0200
@@ -300,7 +300,9 @@
AecMetrics my_metrics;
memset(&my_metrics, 0, sizeof(my_metrics));
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(metrics, 0, sizeof(Metrics));
+#pragma GCC diagnostic pop
const int err = WebRtcAec_GetMetrics(cancellers_[0]->state(), &my_metrics);
if (err != AudioProcessing::kNoError) {
--- chromium-68.0.3440.106/third_party/webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc 2018-08-14 21:49:50.106272582 +0200
@@ -49,7 +49,9 @@
size_t length,
RTPHeader* header) const {
RtpUtility::RtpHeaderParser rtp_parser(packet, length);
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(header, 0, sizeof(*header));
+#pragma GCC diagnostic pop
RtpHeaderExtensionMap map;
{
--- chromium-68.0.3440.106/third_party/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc 2018-08-14 21:51:07.382922793 +0200
@@ -64,7 +64,9 @@
} else {
// No clock implementation provided, use default clock.
RtpRtcp::Configuration configuration_copy;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&configuration_copy, &configuration, sizeof(RtpRtcp::Configuration));
+#pragma GCC diagnostic pop
configuration_copy.clock = Clock::GetRealTimeClock();
return new ModuleRtpRtcpImpl(configuration_copy);
}
--- chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/vector.h.gcc8 2018-08-08 21:11:52.000000000 +0200
+++ chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/vector.h 2018-08-14 21:59:58.115654176 +0200
@@ -141,8 +141,10 @@
struct VectorInitializer<true, T, Allocator> {
STATIC_ONLY(VectorInitializer);
static void Initialize(T* begin, T* end) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(begin, 0,
reinterpret_cast<char*>(end) - reinterpret_cast<char*>(begin));
+#pragma GCC diagnostic pop
}
};
@@ -190,9 +192,11 @@
STATIC_ONLY(VectorMover);
static void Move(const T* src, const T* src_end, T* dst) {
if (LIKELY(dst && src)) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(dst, src,
reinterpret_cast<const char*>(src_end) -
reinterpret_cast<const char*>(src));
+#pragma GCC diagnostic pop
ConstructTraits<T, VectorTraits<T>, Allocator>::NotifyNewElements(
dst, src_end - src);
}
@@ -203,9 +203,11 @@
}
static void MoveOverlapping(const T* src, const T* src_end, T* dst) {
if (LIKELY(dst && src)) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memmove(dst, src,
reinterpret_cast<const char*>(src_end) -
reinterpret_cast<const char*>(src));
+#pragma GCC diagnostic pop
ConstructTraits<T, VectorTraits<T>, Allocator>::NotifyNewElements(
dst, src_end - src);
}
@@ -242,9 +244,11 @@
STATIC_ONLY(VectorCopier);
static void UninitializedCopy(const T* src, const T* src_end, T* dst) {
if (LIKELY(dst && src)) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(dst, src,
reinterpret_cast<const char*>(src_end) -
reinterpret_cast<const char*>(src));
+#pragma GCC diagnostic pop
ConstructTraits<T, VectorTraits<T>, Allocator>::NotifyNewElements(
dst, src_end - src);
}
--- chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/hash_table.h.gcc8 2018-08-08 21:11:52.000000000 +0200
+++ chromium-68.0.3440.106/third_party/blink/renderer/platform/wtf/hash_table.h 2018-08-14 22:04:23.904013134 +0200
@@ -1216,7 +1216,9 @@
// makes it possible to use this with types that don't support copying.
// The memset to 0 looks like a slow operation but is optimized by the
// compilers.
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&bucket, 0, sizeof(bucket));
+#pragma GCC diagnostic pop
}
};
@@ -1688,7 +1690,9 @@
if (IsEmptyOrDeletedBucket(table_[i])) {
DCHECK_NE(&table_[i], entry);
if (Traits::kEmptyValueIsZero) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&temporary_table[i], 0, sizeof(ValueType));
+#pragma GCC diagnostic pop
} else {
InitializeBucket(temporary_table[i]);
}
@@ -1703,7 +1707,9 @@
Allocator::BackingWriteBarrier(table_);
if (Traits::kEmptyValueIsZero) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(original_table, 0, new_table_size * sizeof(ValueType));
+#pragma GCC diagnostic pop
} else {
for (unsigned i = 0; i < new_table_size; i++)
InitializeBucket(original_table[i]);
--- chromium-68.0.3440.106/gpu/command_buffer/client/raster_implementation.cc.gcc8 2018-08-08 21:10:58.000000000 +0200
+++ chromium-68.0.3440.106/gpu/command_buffer/client/raster_implementation.cc 2018-08-14 22:13:17.028701679 +0200
@@ -848,7 +848,9 @@
for (GLsizei i = 0; i < count; ++i) {
if (sync_tokens[i]) {
SyncToken sync_token;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&sync_token, sync_tokens[i], sizeof(sync_token));
+#pragma GCC diagnostic pop
if (sync_token.HasData() && !sync_token.verified_flush()) {
if (!GetVerifiedSyncTokenForIPC(sync_token, &sync_token)) {
@@ -879,7 +881,9 @@
// Copy the data over before data access to ensure alignment.
SyncToken sync_token, verified_sync_token;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&sync_token, sync_token_data, sizeof(SyncToken));
+#pragma GCC diagnostic pop
if (!sync_token.HasData())
return;
--- chromium-68.0.3440.106/gpu/command_buffer/client/gles2_implementation.cc.gcc8 2018-08-08 21:10:58.000000000 +0200
+++ chromium-68.0.3440.106/gpu/command_buffer/client/gles2_implementation.cc 2018-08-14 22:15:45.728097911 +0200
@@ -6002,7 +6002,9 @@
for (GLsizei i = 0; i < count; ++i) {
if (sync_tokens[i]) {
SyncToken sync_token;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&sync_token, sync_tokens[i], sizeof(sync_token));
+#pragma GCC diagnostic pop
if (sync_token.HasData() && !sync_token.verified_flush()) {
if (!GetVerifiedSyncTokenForIPC(sync_token, &sync_token)) {
@@ -6032,7 +6034,9 @@
// Copy the data over before data access to ensure alignment.
SyncToken sync_token, verified_sync_token;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&sync_token, sync_token_data, sizeof(SyncToken));
+#pragma GCC diagnostic pop
if (!sync_token.HasData())
return;
--- chromium-68.0.3440.106/third_party/webrtc/video/video_receive_stream.cc.gcc8 2018-08-08 21:13:17.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/video/video_receive_stream.cc 2018-08-14 22:24:07.073210699 +0200
@@ -46,7 +46,9 @@
namespace {
VideoCodec CreateDecoderVideoCodec(const VideoReceiveStream::Decoder& decoder) {
VideoCodec codec;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&codec, 0, sizeof(codec));
+#pragma GCC diagnostic pop
codec.plType = decoder.payload_type;
codec.codecType = PayloadStringToCodecType(decoder.payload_name);
--- chromium-68.0.3440.106/third_party/pdfium/core/fxcodec/jbig2/JBig2_Context.cpp.gcc8 2018-08-08 21:13:13.000000000 +0200
+++ chromium-68.0.3440.106/third_party/pdfium/core/fxcodec/jbig2/JBig2_Context.cpp 2018-08-14 22:32:06.974633434 +0200
@@ -817,7 +817,9 @@
if (pTRD->SBREFINE == 1) {
const size_t size = GetRefAggContextSize(pTRD->SBRTEMPLATE);
grContext.reset(FX_Alloc(JBig2ArithCtx, size));
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(grContext.get(), 0, sizeof(JBig2ArithCtx) * size);
+#pragma GCC diagnostic pop
}
if (pTRD->SBHUFF == 0) {
auto pArithDecoder =
@@ -871,7 +873,9 @@
const size_t size = GetHuffContextSize(pPDD->HDTEMPLATE);
std::unique_ptr<JBig2ArithCtx, FxFreeDeleter> gbContext(
FX_Alloc(JBig2ArithCtx, size));
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(gbContext.get(), 0, sizeof(JBig2ArithCtx) * size);
+#pragma GCC diagnostic pop
auto pArithDecoder =
pdfium::MakeUnique<CJBig2_ArithDecoder>(m_pStream.get());
pSegment->m_PatternDict =
@@ -940,7 +944,9 @@
const size_t size = GetHuffContextSize(pHRD->HTEMPLATE);
std::unique_ptr<JBig2ArithCtx, FxFreeDeleter> gbContext(
FX_Alloc(JBig2ArithCtx, size));
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(gbContext.get(), 0, sizeof(JBig2ArithCtx) * size);
+#pragma GCC diagnostic pop
auto pArithDecoder =
pdfium::MakeUnique<CJBig2_ArithDecoder>(m_pStream.get());
pSegment->m_Image =
@@ -1120,7 +1126,9 @@
const size_t size = GetRefAggContextSize(pGRRD->GRTEMPLATE);
std::unique_ptr<JBig2ArithCtx, FxFreeDeleter> grContext(
FX_Alloc(JBig2ArithCtx, size));
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(grContext.get(), 0, sizeof(JBig2ArithCtx) * size);
+#pragma GCC diagnostic pop
auto pArithDecoder = pdfium::MakeUnique<CJBig2_ArithDecoder>(m_pStream.get());
pSegment->m_nResultType = JBIG2_IMAGE_POINTER;
pSegment->m_Image = pGRRD->Decode(pArithDecoder.get(), grContext.get());
--- chromium-68.0.3440.106/third_party/pdfium/xfa/fde/cfde_texteditengine.cpp.gcc8 2018-08-08 21:13:13.000000000 +0200
+++ chromium-68.0.3440.106/third_party/pdfium/xfa/fde/cfde_texteditengine.cpp 2018-08-14 22:34:59.589550686 +0200
@@ -1043,7 +1043,9 @@
const CFX_BreakPiece* piece = text_break_.GetBreakPieceUnstable(i);
FDE_TEXTEDITPIECE txtEdtPiece;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&txtEdtPiece, 0, sizeof(FDE_TEXTEDITPIECE));
+#pragma GCC diagnostic pop
txtEdtPiece.nBidiLevel = piece->m_iBidiLevel;
txtEdtPiece.nCount = piece->GetLength();
--- chromium-68.0.3440.106/third_party/webrtc/media/engine/simulcast_encoder_adapter.cc.gcc8 2018-08-08 21:13:15.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/media/engine/simulcast_encoder_adapter.cc 2018-08-14 22:37:49.845519857 +0200
@@ -118,7 +118,9 @@
// the encoder task queue.
encoder_queue_.Detach();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&codec_, 0, sizeof(webrtc::VideoCodec));
+#pragma GCC diagnostic pop
}
SimulcastEncoderAdapter::~SimulcastEncoderAdapter() {
--- chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/encoder_database.cc.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/encoder_database.cc 2018-08-14 22:40:27.598718970 +0200
@@ -103,7 +103,9 @@
void VCMEncoderDataBase::DeregisterExternalEncoder() {
DeleteEncoder();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&send_codec_, 0, sizeof(VideoCodec));
+#pragma GCC diagnostic pop
external_encoder_ = nullptr;
internal_source_ = false;
}
--- chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/decoder_database.cc.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/decoder_database.cc 2018-08-14 22:42:30.590539511 +0200
@@ -99,7 +99,9 @@
dec_map_.erase(it);
if (receive_codec_.plType == payload_type) {
// This codec is currently in use.
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&receive_codec_, 0, sizeof(VideoCodec));
+#pragma GCC diagnostic pop
}
return true;
}
@@ -115,7 +117,9 @@
// If decoder exists - delete.
if (ptr_decoder_) {
ptr_decoder_.reset();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&receive_codec_, 0, sizeof(VideoCodec));
+#pragma GCC diagnostic pop
}
ptr_decoder_ = CreateAndInitDecoder(frame, &receive_codec_);
if (!ptr_decoder_) {
@@ -126,7 +130,9 @@
if (ptr_decoder_->RegisterDecodeCompleteCallback(decoded_frame_callback) <
0) {
ptr_decoder_.reset();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&receive_codec_, 0, sizeof(VideoCodec));
+#pragma GCC diagnostic pop
return nullptr;
}
return ptr_decoder_.get();
--- chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/video_codec_initializer.cc.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/video_codec_initializer.cc 2018-08-14 22:45:20.974525552 +0200
@@ -77,7 +77,9 @@
RTC_DCHECK_GE(config.min_transmit_bitrate_bps, 0);
VideoCodec video_codec;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&video_codec, 0, sizeof(video_codec));
+#pragma GCC diagnostic pop
video_codec.codecType = config.codec_type;
switch (config.content_type) {
--- chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc.gcc8 2018-08-08 21:13:16.000000000 +0200
+++ chromium-68.0.3440.106/third_party/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc 2018-08-14 22:46:55.545855003 +0200
@@ -86,7 +86,9 @@
output_framerate_(1000.0, 1000.0),
last_encoded_frame_rtp_timestamp_(0),
is_flexible_mode_(false) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&codec_, 0, sizeof(codec_));
+#pragma GCC diagnostic pop
memset(&svc_params_, 0, sizeof(vpx_svc_extra_cfg_t));
}
@@ -761,7 +763,9 @@
}
RTC_DCHECK_LE(encoded_image_._length, encoded_image_._size);
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&codec_specific_, 0, sizeof(codec_specific_));
+#pragma GCC diagnostic pop
PopulateCodecSpecific(&codec_specific_, *pkt, input_image_->timestamp(),
first_frame_in_picture);
--- chromium-68.0.3440.106/media/filters/vp8_parser.cc.gcc8 2018-08-08 21:11:03.000000000 +0200
+++ chromium-68.0.3440.106/media/filters/vp8_parser.cc 2018-08-14 23:13:10.772858869 +0200
@@ -59,7 +59,9 @@
stream_ = ptr;
bytes_left_ = frame_size;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(fhdr, 0, sizeof(*fhdr));
+#pragma GCC diagnostic pop
fhdr->data = stream_;
fhdr->frame_size = bytes_left_;
--- chromium-68.0.3440.106/media/video/h264_parser.cc.gcc8 2018-08-08 21:11:05.000000000 +0200
+++ chromium-68.0.3440.106/media/video/h264_parser.cc 2018-08-14 23:18:45.317942396 +0200
@@ -1368,7 +1368,9 @@
const H264PPS* pps;
Result res;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(shdr, 0, sizeof(*shdr));
+#pragma GCC diagnostic pop
shdr->idr_pic_flag = (nalu.nal_unit_type == 5);
shdr->nal_ref_idc = nalu.nal_ref_idc;
@@ -1516,7 +1518,9 @@
H264Parser::Result H264Parser::ParseSEI(H264SEIMessage* sei_msg) {
int byte;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(sei_msg, 0, sizeof(*sei_msg));
+#pragma GCC diagnostic pop
READ_BITS_OR_RETURN(8, &byte);
while (byte == 0xff) {
--- chromium-68.0.3440.106/third_party/pdfium/xfa/fxfa/cxfa_textlayout.cpp.gcc8 2018-08-08 21:13:13.000000000 +0200
+++ chromium-68.0.3440.106/third_party/pdfium/xfa/fxfa/cxfa_textlayout.cpp 2018-08-14 23:29:04.550904864 +0200
@@ -591,7 +591,9 @@
pCharPos = FX_Realloc(FXTEXT_CHARPOS, pCharPos, iChars);
iCharCount = iChars;
}
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(pCharPos, 0, iCharCount * sizeof(FXTEXT_CHARPOS));
+#pragma GCC diagnostic pop
RenderString(pFxDevice, pPieceLine, j, pCharPos, tmDoc2Device);
}
for (j = 0; j < iPieces; j++)
--- chromium-68.0.3440.106/v8/src/frames.h.gcc8 2018-08-08 21:13:19.000000000 +0200
+++ chromium-68.0.3440.106/v8/src/frames.h 2018-08-14 23:30:16.197615313 +0200
@@ -44,7 +44,9 @@
}
void Flush() {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&cache_[0], 0, sizeof(cache_));
+#pragma GCC diagnostic pop
}
InnerPointerToCodeCacheEntry* GetCacheEntry(Address inner_pointer);
--- chromium-68.0.3440.106/v8/src/base/macros.h.gcc8 2018-08-08 21:13:19.000000000 +0200
+++ chromium-68.0.3440.106/v8/src/base/macros.h 2018-08-14 23:38:21.112816242 +0200
@@ -101,7 +101,9 @@
static_assert(sizeof(Dest) == sizeof(Source),
"source and dest must be same size");
Dest dest;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&dest, &source, sizeof(dest));
+#pragma GCC diagnostic pop
return dest;
}
--- chromium-68.0.3440.106/v8/src/compiler/node-cache.cc.gcc8 2018-08-08 21:13:19.000000000 +0200
+++ chromium-68.0.3440.106/v8/src/compiler/node-cache.cc 2018-08-14 23:45:26.941120662 +0200
@@ -38,7 +38,9 @@
size_ *= 4;
size_t num_entries = size_ + kLinearProbe;
entries_ = zone->NewArray<Entry>(num_entries);
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(entries_, 0, sizeof(Entry) * num_entries);
+#pragma GCC diagnostic pop
// Insert the old entries into the new block.
for (size_t i = 0; i < old_size; ++i) {
@@ -69,7 +71,9 @@
size_t num_entries = kInitialSize + kLinearProbe;
entries_ = zone->NewArray<Entry>(num_entries);
size_ = kInitialSize;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(entries_, 0, sizeof(Entry) * num_entries);
+#pragma GCC diagnostic pop
Entry* entry = &entries_[hash & (kInitialSize - 1)];
entry->key_ = key;
return &entry->value_;
--- chromium-68.0.3440.106/v8/src/compiler/simd-scalar-lowering.cc.gcc8 2018-08-08 21:13:19.000000000 +0200
+++ chromium-68.0.3440.106/v8/src/compiler/simd-scalar-lowering.cc 2018-08-14 23:47:52.217508370 +0200
@@ -38,7 +38,9 @@
DCHECK_NOT_NULL(graph());
DCHECK_NOT_NULL(graph()->end());
replacements_ = zone()->NewArray<Replacement>(graph()->NodeCount());
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(replacements_, 0, sizeof(Replacement) * graph()->NodeCount());
+#pragma GCC diagnostic pop
}
void SimdScalarLowering::LowerGraph() {
--- chromium-68.0.3440.106/v8/src/log.cc.gcc8 2018-08-08 21:13:19.000000000 +0200
+++ chromium-68.0.3440.106/v8/src/log.cc 2018-08-14 23:55:16.938544439 +0200
@@ -668,7 +668,9 @@
SharedFunctionInfo* shared, const char* name,
int length) {
JitCodeEvent event;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&event, 0, sizeof(event));
+#pragma GCC diagnostic pop
event.type = JitCodeEvent::CODE_ADDED;
event.code_start = reinterpret_cast<void*>(code->InstructionStart());
event.code_type =
@@ -689,7 +691,9 @@
void JitLogger::LogRecordedBuffer(const wasm::WasmCode* code, const char* name,
int length) {
JitCodeEvent event;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&event, 0, sizeof(event));
+#pragma GCC diagnostic pop
event.type = JitCodeEvent::CODE_ADDED;
event.code_type = JitCodeEvent::JIT_CODE;
event.code_start = code->instructions().start();
@@ -726,7 +730,9 @@
int position,
JitCodeEvent::PositionType position_type) {
JitCodeEvent event;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&event, 0, sizeof(event));
+#pragma GCC diagnostic pop
event.type = JitCodeEvent::CODE_ADD_LINE_POS_INFO;
event.user_data = jit_handler_data;
event.line_info.offset = pc_offset;
@@ -740,7 +746,9 @@
void* JitLogger::StartCodePosInfoEvent() {
JitCodeEvent event;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&event, 0, sizeof(event));
+#pragma GCC diagnostic pop
event.type = JitCodeEvent::CODE_START_LINE_INFO_RECORDING;
event.isolate = reinterpret_cast<v8::Isolate*>(isolate_);
@@ -751,7 +759,9 @@
void JitLogger::EndCodePosInfoEvent(Address start_address,
void* jit_handler_data) {
JitCodeEvent event;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&event, 0, sizeof(event));
+#pragma GCC diagnostic pop
event.type = JitCodeEvent::CODE_END_LINE_INFO_RECORDING;
event.code_start = reinterpret_cast<void*>(start_address);
event.user_data = jit_handler_data;
--- chromium-68.0.3440.106/components/web_cache/browser/web_cache_manager.cc.gcc8 2018-08-08 21:10:52.000000000 +0200
+++ chromium-68.0.3440.106/components/web_cache/browser/web_cache_manager.cc 2018-08-16 12:02:36.324221013 +0200
@@ -80,7 +80,9 @@
active_renderers_.insert(renderer_id);
RendererInfo* stats = &(stats_[renderer_id]);
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(stats, 0, sizeof(*stats));
+#pragma GCC diagnostic pop
stats->access = Time::Now();
content::RenderProcessHost* host =
--- chromium-68.0.3440.106/content/browser/browser_plugin/browser_plugin_guest.cc.gcc8 2018-08-08 21:10:53.000000000 +0200
+++ chromium-68.0.3440.106/content/browser/browser_plugin/browser_plugin_guest.cc 2018-08-16 12:40:59.741240759 +0200
@@ -429,7 +429,9 @@
gfx::Vector2d offset_from_embedder = frame_rect_.OffsetFromOrigin();
if (event.GetType() == blink::WebInputEvent::kGestureScrollUpdate) {
blink::WebGestureEvent resent_gesture_event;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&resent_gesture_event, &event, sizeof(blink::WebGestureEvent));
+#pragma GCC diagnostic pop
resent_gesture_event.SetPositionInWidget(
resent_gesture_event.PositionInWidget() + offset_from_embedder);
// Mark the resend source with the browser plugin's instance id, so the
@@ -441,7 +443,9 @@
view->ProcessGestureEvent(resent_gesture_event, latency_info);
} else if (event.GetType() == blink::WebInputEvent::kMouseWheel) {
blink::WebMouseWheelEvent resent_wheel_event;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&resent_wheel_event, &event, sizeof(blink::WebMouseWheelEvent));
+#pragma GCC diagnostic pop
resent_wheel_event.SetPositionInWidget(
resent_wheel_event.PositionInWidget().x + offset_from_embedder.x(),
resent_wheel_event.PositionInWidget().y + offset_from_embedder.y());
--- chromium-68.0.3440.106/device/gamepad/public/cpp/gamepad_mojom_traits.cc.gcc8 2018-08-08 21:10:57.000000000 +0200
+++ chromium-68.0.3440.106/device/gamepad/public/cpp/gamepad_mojom_traits.cc 2018-08-16 14:55:08.981030117 +0200
@@ -12,7 +12,9 @@
void StructTraits<
device::mojom::GamepadQuaternionDataView,
device::GamepadQuaternion>::SetToNull(device::GamepadQuaternion* out) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(out, 0, sizeof(device::GamepadQuaternion));
+#pragma GCC diagnostic pop
out->not_null = false;
}
@@ -33,7 +35,9 @@
void StructTraits<device::mojom::GamepadVectorDataView,
device::GamepadVector>::SetToNull(device::GamepadVector*
out) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(out, 0, sizeof(device::GamepadVector));
+#pragma GCC diagnostic pop
out->not_null = false;
}
@@ -101,7 +105,9 @@
void StructTraits<device::mojom::GamepadHapticActuatorDataView,
device::GamepadHapticActuator>::
SetToNull(device::GamepadHapticActuator* out) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(out, 0, sizeof(device::GamepadHapticActuator));
+#pragma GCC diagnostic pop
out->not_null = false;
}
@@ -119,7 +125,9 @@
// static
void StructTraits<device::mojom::GamepadPoseDataView,
device::GamepadPose>::SetToNull(device::GamepadPose* out) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(out, 0, sizeof(device::GamepadPose));
+#pragma GCC diagnostic pop
out->not_null = false;
}
--- chromium-68.0.3440.106/device/gamepad/gamepad_pad_state_provider.cc.gcc8 2018-08-08 21:10:57.000000000 +0200
+++ chromium-68.0.3440.106/device/gamepad/gamepad_pad_state_provider.cc 2018-08-16 14:57:16.836715112 +0200
@@ -62,7 +62,9 @@
}
void GamepadPadStateProvider::ClearPadState(PadState& state) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&state, 0, sizeof(PadState));
+#pragma GCC diagnostic pop
}
void GamepadPadStateProvider::InitializeDataFetcher(
@@ -77,7 +79,9 @@
DCHECK(pad);
if (!pad_state->data.connected) {
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(pad, 0, sizeof(Gamepad));
+#pragma GCC diagnostic pop
return;
}
--- chromium-68.0.3440.106/device/gamepad/gamepad_shared_buffer.cc.gcc8 2018-08-08 21:10:57.000000000 +0200
+++ chromium-68.0.3440.106/device/gamepad/gamepad_shared_buffer.cc 2018-08-16 15:12:56.372693313 +0200
@@ -16,7 +16,9 @@
void* mem = shared_memory_mapping_.memory();
DCHECK(mem);
hardware_buffer_ = new (mem) GamepadHardwareBuffer();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&(hardware_buffer_->data), 0, sizeof(Gamepads));
+#pragma GCC diagnostic pop
}
GamepadSharedBuffer::~GamepadSharedBuffer() = default;
--- chromium-68.0.3440.106/third_party/blink/renderer/platform/length.h.gcc8 2018-08-08 21:11:51.000000000 +0200
+++ chromium-68.0.3440.106/third_party/blink/renderer/platform/length.h 2018-08-16 21:04:12.500371375 +0200
@@ -102,7 +102,9 @@
length.IncrementCalculatedRef();
if (IsCalculated())
DecrementCalculatedRef();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(this, &length, sizeof(Length));
+#pragma GCC diagnostic pop
return *this;
}
--- chromium-68.0.3440.106/ppapi/proxy/gamepad_resource.cc.gcc8 2018-08-08 21:11:07.000000000 +0200
+++ chromium-68.0.3440.106/ppapi/proxy/gamepad_resource.cc 2018-08-16 21:14:14.496252776 +0200
@@ -60,7 +60,9 @@
device::Gamepads read_into;
do {
version = buffer_->seqlock.ReadBegin();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&read_into, &buffer_->data, sizeof(read_into));
+#pragma GCC diagnostic pop
++contention_count;
if (contention_count == kMaximumContentionCount)
break;
--- chromium-68.0.3440.106/third_party/blink/renderer/modules/gamepad/gamepad_shared_memory_reader.cc.gcc8 2018-08-08 21:10:55.000000000 +0200
+++ chromium-68.0.3440.106/third_party/blink/renderer/modules/gamepad/gamepad_shared_memory_reader.cc 2018-08-16 22:01:05.038368945 +0200
@@ -87,7 +87,9 @@
base::subtle::Atomic32 version;
do {
version = gamepad_hardware_buffer_->seqlock.ReadBegin();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&read_into, &gamepad_hardware_buffer_->data, sizeof(read_into));
+#pragma GCC diagnostic pop
++contention_count;
if (contention_count == kMaximumContentionCount)
break;
@@ -102,7 +104,9 @@
}
// New data was read successfully, copy it into the output buffer.
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&gamepads, &read_into, sizeof(gamepads));
+#pragma GCC diagnostic pop
if (!ever_interacted_with_) {
// Clear the connected flag if the user hasn't interacted with any of the
--- chromium-68.0.3440.106/content/renderer/media/webrtc/rtc_video_encoder.cc.gcc8 2018-08-08 21:10:55.000000000 +0200
+++ chromium-68.0.3440.106/content/renderer/media/webrtc/rtc_video_encoder.cc 2018-08-16 22:35:12.295855869 +0200
@@ -769,7 +769,9 @@
return;
webrtc::RTPFragmentationHeader header;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&header, 0, sizeof(header));
+#pragma GCC diagnostic pop
switch (video_codec_type_) {
case webrtc::kVideoCodecVP8:
// Generate a header describing a single fragment.
@@ -794,7 +796,9 @@
}
webrtc::CodecSpecificInfo info;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&info, 0, sizeof(info));
+#pragma GCC diagnostic pop
info.codecType = video_codec_type_;
info.codec_name = ImplementationName();
if (video_codec_type_ == webrtc::kVideoCodecVP8) {
--- chromium-68.0.3440.106/third_party/blink/renderer/core/css/css_selector_list.cc.gcc8 2018-08-08 21:11:49.000000000 +0200
+++ chromium-68.0.3440.106/third_party/blink/renderer/core/css/css_selector_list.cc 2018-08-16 22:38:46.625948903 +0200
@@ -262,8 +262,10 @@
// Move item from the parser selector vector into selector_array_ without
// invoking destructor (Ugh.)
CSSSelector* current_selector = current->ReleaseSelector().release();
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memcpy(&list.selector_array_[array_index], current_selector,
sizeof(CSSSelector));
+#pragma GCC diagnostic pop
WTF::Partitions::FastFree(current_selector);
current = current->TagHistory();
--- chromium-68.0.3440.106/content/renderer/pepper/plugin_module.cc.gcc8 2018-08-08 21:10:55.000000000 +0200
+++ chromium-68.0.3440.106/content/renderer/pepper/plugin_module.cc 2018-08-17 09:00:00.010744283 +0200
@@ -506,7 +506,9 @@
if (!host_globals)
host_globals = new HostGlobals;
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&entry_points_, 0, sizeof(entry_points_));
+#pragma GCC diagnostic pop
pp_module_ = HostGlobals::Get()->AddModule(this);
GetLivePluginSet()->insert(this);
}
--- chromium-68.0.3440.106/mojo/public/c/system/message_pipe.h.gcc8 2018-08-08 21:11:05.000000000 +0200
+++ chromium-68.0.3440.106/mojo/public/c/system/message_pipe.h 2018-08-18 15:08:11.059119547 +0200
@@ -35,7 +35,6 @@
// See |MojoCreateMessagePipeFlags|.
MojoCreateMessagePipeFlags flags;
};
-MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
MOJO_STATIC_ASSERT(sizeof(MojoCreateMessagePipeOptions) == 8,
"MojoCreateMessagePipeOptions has wrong size");
--- chromium-68.0.3440.106/mojo/public/c/system/data_pipe.h.gcc8 2018-08-08 21:11:05.000000000 +0200
+++ chromium-68.0.3440.106/mojo/public/c/system/data_pipe.h 2018-08-18 15:13:42.028075568 +0200
@@ -40,7 +40,6 @@
// system-dependent capacity of at least one element in size.
uint32_t capacity_num_bytes;
};
-MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
MOJO_STATIC_ASSERT(sizeof(MojoCreateDataPipeOptions) == 16,
"MojoCreateDataPipeOptions has wrong size");
--- chromium-68.0.3440.106/mojo/public/c/system/buffer.h.gcc8 2018-08-08 21:11:05.000000000 +0200
+++ chromium-68.0.3440.106/mojo/public/c/system/buffer.h 2018-08-18 15:15:18.766308780 +0200
@@ -30,7 +30,6 @@
// See |MojoCreateSharedBufferFlags|.
MojoCreateSharedBufferFlags flags;
};
-MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
MOJO_STATIC_ASSERT(sizeof(MojoCreateSharedBufferOptions) == 8,
"MojoCreateSharedBufferOptions has wrong size");
--- chromium-68.0.3440.106/mojo/core/options_validation_unittest.cc.gcc8 2018-08-08 21:11:05.000000000 +0200
+++ chromium-68.0.3440.106/mojo/core/options_validation_unittest.cc 2018-08-18 15:16:30.947990424 +0200
@@ -18,7 +18,6 @@
using TestOptionsFlags = uint32_t;
-static_assert(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
struct MOJO_ALIGNAS(8) TestOptions {
uint32_t struct_size;
TestOptionsFlags flags;
@@ -0,0 +1,12 @@
--- chromium-69.0.3497.42/third_party/blink/renderer/platform/heap/heap_stats_collector.cc.gcc8 2018-08-17 03:06:26.000000000 +0200
+++ chromium-69.0.3497.42/third_party/blink/renderer/platform/heap/heap_stats_collector.cc 2018-08-19 13:50:34.455693170 +0200
@@ -83,7 +83,9 @@
// Reset the current state.
static_assert(!std::is_polymorphic<Event>::value,
"Event should not be polymorphic");
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
memset(&current_, 0, sizeof(current_));
+#pragma GCC diagnostic pop
}
void ThreadHeapStatsCollector::UpdateReason(BlinkGC::GCReason reason) {
@@ -0,0 +1,13 @@
--- chromium-60.0.3112.40/chrome/browser/extensions/component_extensions_whitelist/whitelist.cc.no-external-components 2017-06-23 23:37:14.038911768 +0200
+++ chromium-60.0.3112.40/chrome/browser/extensions/component_extensions_whitelist/whitelist.cc 2017-06-23 23:49:00.077985242 +0200
@@ -26,8 +26,10 @@
bool IsComponentExtensionWhitelisted(const std::string& extension_id) {
const char* const kAllowed[] = {
+#if 0
extension_misc::kInAppPaymentsSupportAppId,
extension_misc::kMediaRouterStableExtensionId,
+#endif
extension_misc::kPdfExtensionId,
#if defined(OS_CHROMEOS)
extension_misc::kAssessmentAssistantExtensionId,
@@ -0,0 +1,228 @@
diff -up chromium-60.0.3112.40/third_party/pdfium/BUILD.gn.pdfium-system-libtiff-libpng chromium-60.0.3112.40/third_party/pdfium/BUILD.gn
--- chromium-60.0.3112.40/third_party/pdfium/BUILD.gn.pdfium-system-libtiff-libpng 2017-06-22 00:04:09.000000000 +0200
+++ chromium-60.0.3112.40/third_party/pdfium/BUILD.gn 2017-06-24 00:05:50.521671902 +0200
@@ -19,7 +19,6 @@ config("pdfium_common_config") {
ldflags = []
include_dirs = [ "." ]
defines = [
- "OPJ_STATIC",
"PNG_PREFIX",
"PNG_USE_READ_MACROS",
]
@@ -668,6 +667,7 @@
deps = [
":fxcrt",
"third_party:lcms2",
+ "third_party:fx_libopenjpeg",
]
}
@@ -685,6 +685,7 @@
configs += [ ":pdfium_core_config" ]
deps = [
":fxcrt",
+ "third_party:fx_libopenjpeg",
]
}
diff -up chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/ccodec_tiffmodule.cpp.pdfium-system-libtiff-libpng chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/ccodec_tiffmodule.cpp
--- chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/ccodec_tiffmodule.cpp.pdfium-system-libtiff-libpng 2017-06-22 00:04:10.000000000 +0200
+++ chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/ccodec_tiffmodule.cpp 2017-06-24 00:05:50.524671846 +0200
@@ -19,9 +19,7 @@
#include "third_party/base/logging.h"
#include "third_party/base/ptr_util.h"
-extern "C" {
-#include "third_party/libtiff/tiffiop.h"
-} // extern C
+#include <tiffio.h>
namespace {
@@ -188,7 +186,7 @@
tiff_write, tiff_seek, tiff_close, tiff_get_size,
tiff_map, tiff_unmap);
if (tif) {
- tif->tif_fd = (int)(intptr_t)context;
+ (void)TIFFSetFileno(tif, (int)(intptr_t)context);
}
return tif;
}
diff -up chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h.pdfium-system-libtiff-libpng chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h
--- chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h.pdfium-system-libtiff-libpng 2017-06-24 00:05:50.526671809 +0200
+++ chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h 2017-06-25 12:29:14.039984794 +0200
@@ -13,7 +13,7 @@
#include "core/fxcodec/codec/codec_int.h"
#include "core/fxcrt/unowned_ptr.h"
#include "third_party/base/span.h"
-#include "third_party/libopenjpeg20/openjpeg.h"
+#include <openjpeg.h>
class CPDF_ColorSpace;
diff -up chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/codec_int.h.pdfium-system-libtiff-libpng chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/codec_int.h
--- chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/codec_int.h.pdfium-system-libtiff-libpng 2017-06-22 00:04:10.000000000 +0200
+++ chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/codec_int.h 2017-06-24 00:05:50.521671902 +0200
@@ -15,7 +15,7 @@
#include <vector>
#include "core/fxcodec/jbig2/JBig2_Context.h"
-#include "third_party/libopenjpeg20/openjpeg.h"
+#include <openjpeg.h>
class CPDF_ColorSpace;
diff -up chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp.pdfium-system-libtiff-libpng chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp
--- chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp.pdfium-system-libtiff-libpng 2017-06-22 00:04:10.000000000 +0200
+++ chromium-60.0.3112.40/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp 2017-06-24 00:26:21.330902789 +0200
@@ -16,8 +16,12 @@
#include "core/fxcrt/fx_memory.h"
#include "core/fxcrt/fx_safe_types.h"
#include "third_party/base/ptr_util.h"
-#include "third_party/libopenjpeg20/openjpeg.h"
-#include "third_party/libopenjpeg20/opj_malloc.h"
+#include <openjpeg.h>
+//#include <opj_malloc.h>
+extern "C" {
+extern void * opj_calloc(size_t, size_t);
+extern void opj_free(void *);
+}
namespace {
@@ -514,7 +518,7 @@
return false;
m_Image = pTempImage;
- m_Image->pdfium_use_colorspace = !!m_ColorSpace;
+// m_Image->pdfium_use_colorspace = !!m_ColorSpace;
if (!m_Parameters.nb_tile_to_decode) {
if (!opj_set_decode_area(m_Codec.Get(), m_Image.Get(), m_Parameters.DA_x0,
diff -up chromium-60.0.3112.40/third_party/pdfium/third_party/BUILD.gn.pdfium-system-libtiff-libpng chromium-60.0.3112.40/third_party/pdfium/third_party/BUILD.gn
--- chromium-60.0.3112.40/third_party/pdfium/third_party/BUILD.gn.pdfium-system-libtiff-libpng 2017-06-22 00:04:10.000000000 +0200
+++ chromium-60.0.3112.40/third_party/pdfium/third_party/BUILD.gn 2017-06-24 22:25:18.901585830 +0200
@@ -356,49 +356,14 @@
}
}
-config("fx_libopenjpeg_warnings") {
- visibility = [ ":*" ]
- if (is_win) {
- cflags = [
- # Signed/unsigned comparisons.
- "/wd4018",
- ]
- }
+pkg_config("openjpeg_config") {
+ packages = [
+ "libopenjp2",
+ ]
}
-static_library("fx_libopenjpeg") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [
- "//build/config/compiler:no_chromium_code",
- "//build/config/sanitizers:cfi_icall_generalize_pointers",
- ":pdfium_third_party_config",
-
- # Must be after no_chromium_code for warning flags to be ordered correctly.
- ":fx_libopenjpeg_warnings",
- ]
- sources = [
- "libopenjpeg20/bio.c",
- "libopenjpeg20/cio.c",
- "libopenjpeg20/dwt.c",
- "libopenjpeg20/event.c",
- "libopenjpeg20/function_list.c",
- "libopenjpeg20/image.c",
- "libopenjpeg20/invert.c",
- "libopenjpeg20/j2k.c",
- "libopenjpeg20/jp2.c",
- "libopenjpeg20/mct.c",
- "libopenjpeg20/mqc.c",
- "libopenjpeg20/openjpeg.c",
- "libopenjpeg20/opj_clock.c",
- "libopenjpeg20/pi.c",
- "libopenjpeg20/sparse_array.c",
- "libopenjpeg20/sparse_array.h",
- "libopenjpeg20/t1.c",
- "libopenjpeg20/t2.c",
- "libopenjpeg20/tcd.c",
- "libopenjpeg20/tgt.c",
- "libopenjpeg20/thread.c",
- ]
+source_set("fx_libopenjpeg") {
+ public_configs = [ ":openjpeg_config" ]
}
config("system_libpng_config") {
@@ -477,61 +442,13 @@
}
}
+config("fx_tiff_config") {
+ libs = [ "tiff" ]
+}
+
if (pdf_enable_xfa) {
- static_library("fx_tiff") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [
- "//build/config/compiler:no_chromium_code",
- ":pdfium_third_party_config",
- ]
- if (is_win) {
- # Need to undefine the macro since it is redefined in
- # tif_ojpeg.c and tif_jpeg.c.
- configs -= [ "//build/config/win:lean_and_mean" ]
- }
- deps = [
- ":zlib",
- "//third_party:jpeg",
- ]
- sources = [
- "libtiff/tif_aux.c",
- "libtiff/tif_close.c",
- "libtiff/tif_codec.c",
- "libtiff/tif_color.c",
- "libtiff/tif_compress.c",
- "libtiff/tif_dir.c",
- "libtiff/tif_dirinfo.c",
- "libtiff/tif_dirread.c",
- "libtiff/tif_dirwrite.c",
- "libtiff/tif_dumpmode.c",
- "libtiff/tif_error.c",
- "libtiff/tif_extension.c",
- "libtiff/tif_fax3.c",
- "libtiff/tif_fax3sm.c",
- "libtiff/tif_flush.c",
- "libtiff/tif_getimage.c",
- "libtiff/tif_jpeg.c",
- "libtiff/tif_luv.c",
- "libtiff/tif_lzw.c",
- "libtiff/tif_next.c",
- "libtiff/tif_ojpeg.c",
- "libtiff/tif_open.c",
- "libtiff/tif_packbits.c",
- "libtiff/tif_pixarlog.c",
- "libtiff/tif_predict.c",
- "libtiff/tif_print.c",
- "libtiff/tif_read.c",
- "libtiff/tif_strip.c",
- "libtiff/tif_swab.c",
- "libtiff/tif_thunder.c",
- "libtiff/tif_tile.c",
- "libtiff/tif_version.c",
- "libtiff/tif_warning.c",
- "libtiff/tif_write.c",
- "libtiff/tif_zip.c",
- "libtiff/tiffiop.h",
- "libtiff/tiffvers.h",
- ]
+ source_set("fx_tiff") {
+ public_configs = [ ":fx_tiff_config" ]
}
}
@@ -0,0 +1,46 @@
diff -up chromium-55.0.2873.0/build/linux/unbundle/jsoncpp.gn.gn-system-icu-jsoncpp chromium-55.0.2873.0/build/linux/unbundle/jsoncpp.gn
--- chromium-55.0.2873.0/build/linux/unbundle/jsoncpp.gn.gn-system-icu-jsoncpp 2016-10-01 16:21:27.343107786 +0200
+++ chromium-55.0.2873.0/build/linux/unbundle/jsoncpp.gn 2016-10-01 16:21:27.343107786 +0200
@@ -0,0 +1,31 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/linux/pkg_config.gni")
+import("//build/shim_headers.gni")
+
+shim_headers("jsoncpp_shim") {
+ root_path = "source/include"
+ headers = [
+ "json/assertions.h",
+ "json/autolink.h",
+ "json/config.h",
+ "json/features.h",
+ "json/forwards.h",
+ "json/json.h",
+ "json/reader.h",
+ "json/value.h",
+ "json/writer.h"
+ ]
+}
+
+source_set("jsoncpp") {
+ deps = [
+ ":jsoncpp_shim",
+ ]
+ libs = [ "jsoncpp" ]
+}
+
+config("jsoncpp_config") {
+}
diff -up chromium-55.0.2873.0/build/linux/unbundle/replace_gn_files.py.gn-system-icu-jsoncpp chromium-55.0.2873.0/build/linux/unbundle/replace_gn_files.py
--- chromium-55.0.2873.0/build/linux/unbundle/replace_gn_files.py.gn-system-icu-jsoncpp 2016-10-01 16:21:27.343107786 +0200
+++ chromium-55.0.2873.0/build/linux/unbundle/replace_gn_files.py 2016-10-01 17:17:38.913721403 +0200
@@ -23,6 +23,7 @@
'freetype': 'build/config/freetype/freetype.gni',
'harfbuzz-ng': 'third_party/harfbuzz-ng/harfbuzz.gni',
'icu': 'third_party/icu/BUILD.gn',
+ 'jsoncpp' : 'third_party/jsoncpp/BUILD.gn',
'libdrm': 'third_party/libdrm/BUILD.gn',
'libevent': 'base/third_party/libevent/BUILD.gn',
'libjpeg': 'third_party/libjpeg.gni',
@@ -0,0 +1,11 @@
diff -up chromium-53.0.2785.46/build/linux/unbundle/opus.gn.gn-system-opus chromium-53.0.2785.46/build/linux/unbundle/opus.gn
--- chromium-53.0.2785.46/build/linux/unbundle/opus.gn.gn-system-opus 2016-08-09 23:46:12.808470292 +0200
+++ chromium-53.0.2785.46/build/linux/unbundle/opus.gn 2016-08-09 23:53:16.660141755 +0200
@@ -12,6 +12,7 @@
shim_headers("opus_shim") {
root_path = "src/include"
headers = [
+ "opus_custom.h",
"opus.h",
"opus_defines.h",
"opus_multistream.h",
@@ -0,0 +1,15 @@
--- chromium-69.0.3497.4/tools/gn/build/gen.py.gn-bootstrap 2018-07-21 09:17:17.000000000 +0200
+++ chromium-69.0.3497.4/tools/gn/build/gen.py 2018-07-21 17:08:45.465590164 +0200
@@ -367,10 +367,8 @@
# Use the sid sysroot that UpdateLinuxSysroot() downloads.
cflags.append('--sysroot=' + linux_sysroot)
ldflags.append('--sysroot=' + linux_sysroot)
- ldflags.extend([
- '-static-libstdc++',
- '-Wl,--as-needed',
- ])
+ ldflags.append('-static-libstdc++')
+ ldflags.append('-Wl,--as-needed')
libs.extend([
# These are needed by libc++.
'-ldl',
+21 -4
View File
@@ -13,7 +13,7 @@
<IsA>app:gui</IsA>
<Summary>A WebKit powered web browser</Summary>
<Description>Chromium-browser is an open-source web browser, powered by WebKit.</Description>
<Archive sha1sum="0f9fcee4607d5a9a5c5333c4eccf6654c4dfbce1" type="tarxz">https://commondatastorage.googleapis.com/chromium-browser-official/chromium-69.0.3497.81.tar.xz</Archive>
<Archive type="tarxz" sha1sum="79c8fb089e8f344dce40c6495a006a172d4fc4ac">https://commondatastorage.googleapis.com/chromium-browser-official/chromium-69.0.3497.100.tar.xz</Archive>
<BuildDependencies>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>at-spi2-atk-devel</Dependency>
@@ -85,14 +85,31 @@
<Dependency>xdg-utils</Dependency>
<Dependency>xvid-devel</Dependency>
<Dependency>yasm-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>json-c-devel</Dependency>
<Dependency>openjpeg2-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">chromium-compiler-r4.patch</Patch>
<Patch level="1">chromium-69-gcc7.patch</Patch>
<Patch level="1">marcos.patch</Patch>
<Patch level="1">chromium-skia-harmony.patch</Patch>
<Patch level="1">chromium-widevine-r2.patch</Patch>
<Patch level="1">fix-cfi-icall-failure-with-use_system_libjpeg-true.patch</Patch>
<Patch level="1">mageia/001-chromium-59-gcc5.patch</Patch>
<Patch level="1">mageia/002-chromium-61-gcc5.patch</Patch>
<Patch level="1">mageia/003-chromium-62-gcc5.patch</Patch>
<Patch level="1">mageia/004-chromium-62-gcc7.patch</Patch>
<Patch level="1">mageia/005-chromium-64-gcc7.patch</Patch>
<Patch level="1">mageia/006-chromium-65-gcc7.patch</Patch>
<Patch level="1">mageia/007-chromium-66-gcc7.patch</Patch>
<Patch level="1">mageia/008-chromium-67-gcc7.patch</Patch>
<Patch level="1">mageia/009-chromium-68-gcc7.patch</Patch>
<Patch level="1">mageia/011-chromium-69-gcc7.patch</Patch>
<Patch level="1">mageia/chromium-45-no-external-components.patch</Patch>
<Patch level="1">mageia/chromium-52-pdfium-system-libtiff-libpng.patch</Patch>
<Patch level="1">mageia/chromium-53-gn-system-icu-jsoncpp.patch</Patch>
<Patch level="1">mageia/chromium-53-gn-system-opus.patch</Patch>
<Patch level="1">mageia/chromium-69-gn-bootstrap.patch</Patch>
<Patch level="1">marcos.patch</Patch>
<Patch level="1">only-disable-cfi-icall-when-use_system_libjpeg-true.patch</Patch>
</Patches>
</Source>
@@ -165,7 +182,7 @@
<History>
<Update release="13">
<Date>2018-09-11</Date>
<Version>69.0.3497.81</Version>
<Version>69.0.3497.100</Version>
<Comment>Version Bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>