Merge branch 'master' of https://github.com/pisilinux/main
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
<Icon>flash-player-properties</Icon>
|
||||
<Summary>Adobe Flash Player</Summary>
|
||||
<Description>Adobe (Macromedia) Flash Player is an application to present interactive (and possibly multimedia-containing) content created using Adobe Flash.</Description>
|
||||
<Archive sha1sum="41c3a8e55f10942ae8563a709770c4ca977c130f" type="targz" target="i686">https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.207/flash_player_npapi_linux.i386.tar.gz</Archive>
|
||||
<Archive sha1sum="a3144e60b498b034187218e448ae1fb109323974" type="targz" target="x86_64">https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.207/flash_player_npapi_linux.x86_64.tar.gz</Archive>
|
||||
<Archive sha1sum="adc9d9d58f5f9cca7604f3e3346ce2d581076c80" type="targz" target="i686">https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.223/flash_player_npapi_linux.i386.tar.gz</Archive>
|
||||
<Archive sha1sum="cc97e13e06a23a91eff8f6b915c59a25692bbb70" type="targz" target="x86_64">https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.223/flash_player_npapi_linux.x86_64.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>nss</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
@@ -81,6 +81,13 @@
|
||||
</Package>-->
|
||||
|
||||
<History>
|
||||
<Update release="17">
|
||||
<Date>2019-07-26</Date>
|
||||
<Version>32.0.0.223</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2019-06-20</Date>
|
||||
<Version>32.0.0.207</Version>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>Google Chrome's Pepper Flash plugin for Chromium.</Summary>
|
||||
<Description>Google Chrome's Pepper Flash plugin for Chromium (stable version)</Description>
|
||||
<Archive sha1sum="d75f7a086dc72faa633054f4c9879bf2fa573a9b" type="targz">https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.207/flash_player_ppapi_linux.x86_64.tar.gz</Archive>
|
||||
<Archive sha1sum="37b1a38230fc69ee64058adf2c0f71147aa98cc0" type="targz">https://fpdownload.adobe.com/pub/flashplayer/pdc/32.0.0.223/flash_player_ppapi_linux.x86_64.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -32,6 +32,13 @@
|
||||
|
||||
|
||||
<History>
|
||||
<Update release="18">
|
||||
<Date>2019-07-26</Date>
|
||||
<Version>32.0.0.223</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2019-06-20</Date>
|
||||
<Version>32.0.0.207</Version>
|
||||
|
||||
@@ -20,13 +20,22 @@ def setup():
|
||||
shelltools.system("mkdir -p third_party/node/linux/node-linux-x64/bin")
|
||||
shelltools.system("ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/")
|
||||
|
||||
for LIB in ["flac", "harfbuzz-ng" "libwebp" ,"libxslt", "yasm"]:
|
||||
for LIB in ["freetype", "flac", "ffmpeg", "fontconfig", "harfbuzz-ng", "libdrm", "libjpeg", "libxml" ,"libxslt", "libwebp", "opus", "re2", "snappy", "yasm"]:
|
||||
shelltools.system('find -type f -path "*third_party/$LIB/*" \! -path "*third_party/$LIB/chromium/*" \! -path "*third_party/$LIB/google/*" \! -regex ".*\.\(gn\|gni\|isolate\|py\)" -delete')
|
||||
|
||||
shelltools.system("build/linux/unbundle/replace_gn_files.py --system-libraries flac harfbuzz-ng libwebp libxslt yasm")
|
||||
shelltools.system("build/linux/unbundle/replace_gn_files.py --system-libraries flac ffmpeg fontconfig freetype harfbuzz-ng libdrm libjpeg libxml libxslt libwebp opus re2 snappy yasm")
|
||||
|
||||
shelltools.system("sed -i -e 's/\<xmlMalloc\>/malloc/' -e 's/\<xmlFree\>/free/' \
|
||||
third_party/blink/renderer/core/xml/*.cc \
|
||||
third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
|
||||
third_party/libxml/chromium/libxml_utils.cc")
|
||||
|
||||
opt = 'use_sysroot=false \
|
||||
is_clang=false enable_nacl=false \
|
||||
enable_nacl=true \
|
||||
enable_nacl_nonsfi=true \
|
||||
use_custom_libcxx=false \
|
||||
clang_use_chrome_plugins=false \
|
||||
is_official_build=true \
|
||||
fieldtrial_testing_like_official_build=true \
|
||||
clang_use_chrome_plugins=false \
|
||||
fatal_linker_warnings=false \
|
||||
@@ -44,9 +53,23 @@ def setup():
|
||||
remove_webcore_debug_symbols=true \
|
||||
proprietary_codecs=true \
|
||||
link_pulseaudio=true \
|
||||
use_custom_libcxx=false \
|
||||
enable_swiftshader=false'
|
||||
enable_swiftshader=false \
|
||||
use_vaapi=true \
|
||||
closure_compile=false'
|
||||
|
||||
|
||||
#clangpath = "%s/chromium-%s/third_party/llvm-build/Release+Asserts/bin/" %(get.workDIR(), get.srcVERSION())
|
||||
|
||||
shelltools.export("CC", "clang" )
|
||||
shelltools.export("CXX", "clang++" )
|
||||
#shelltools.export("AR", "llvm-ar" )
|
||||
|
||||
shelltools.export("CFLAGS", "-Wno-builtin-macro-redefined")
|
||||
shelltools.export("CXXFLAGS", "-Wno-builtin-macro-redefined")
|
||||
shelltools.export("CPPFLAGS", "-D__DATE__= -D__TIME__= -D__TIMESTAMP__=")
|
||||
|
||||
shelltools.system("build/download_nacl_toolchains.py --packages nacl_x86_newlib,pnacl_newlib,pnacl_translator sync --extract")
|
||||
shelltools.system("tools/clang/scripts/update.py")
|
||||
shelltools.system("tools/gn/bootstrap/bootstrap.py --gn-gen-args '%s'"% opt)
|
||||
shelltools.system("out/Release/gn gen out/Release --args='%s'"% opt)
|
||||
|
||||
@@ -56,13 +79,14 @@ def build():
|
||||
shelltools.system("ninja -C out/Release chrome")
|
||||
shelltools.system("ninja -C out/Release chrome_sandbox")
|
||||
shelltools.system("ninja -C out/Release chromedriver")
|
||||
shelltools.system("ninja -C out/Release widevinecdmadapter")
|
||||
#shelltools.system("ninja -C out/Release widevinecdmadapter")
|
||||
|
||||
def install():
|
||||
shelltools.cd("out/Release")
|
||||
|
||||
#should be checked should for the missing folder "out/Release"
|
||||
for vla in ["*.pak", "*.json", "chrome", "locales", "resources", "icudtl.dat", "mksnapshot", "chromedriver", "natives_blob.bin", "snapshot_blob.bin", "character_data_generator"]:
|
||||
for vla in ["*.pak", "*.json", "chrome", "locales", "resources", "icudtl.dat", "mksnapshot", "chromedriver", "natives_blob.bin", "snapshot_blob.bin", "character_data_generator", \
|
||||
"libEGL.so", "libGLESv2.so", "libVk*.so", "v8_context_snapshot.bin", "MEIPreload", "nacl_helper", "nacl_helper_bootstrap", "nacl_helper_nonsfi", "nacl_irt_x86_64.nexe"]:
|
||||
pisitools.insinto("/usr/lib/chromium-browser", "%s" % vla)
|
||||
|
||||
pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox", "chrome-sandbox")
|
||||
@@ -70,7 +94,7 @@ def install():
|
||||
|
||||
shelltools.system("chmod -v 4755 %s/usr/lib/chromium-browser/chrome-sandbox" %get.installDIR())
|
||||
|
||||
pisitools.newman("chrome.1", "chromium-browser.1")
|
||||
#pisitools.newman("chrome.1", "chromium-browser.1")
|
||||
|
||||
shelltools.cd("../..")
|
||||
for size in ["22", "24", "48", "64", "128", "256"]:
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
From 90e226ba50c98b5e60f74f9dce998b17117f9051 Mon Sep 17 00:00:00 2001
|
||||
From: Peng Huang <penghuang@chromium.org>
|
||||
Date: Tue, 7 May 2019 13:16:21 +0000
|
||||
Subject: [PATCH] Fix window flash for some WMs
|
||||
|
||||
Bug: 956061
|
||||
Change-Id: I0d8d196395e70006a8fdc770f1e4a5ba6f93dd57
|
||||
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1597388
|
||||
Commit-Queue: Peng Huang <penghuang@chromium.org>
|
||||
Reviewed-by: Antoine Labour <piman@chromium.org>
|
||||
Cr-Commit-Position: refs/heads/master@{#657215}
|
||||
---
|
||||
ui/gl/BUILD.gn | 5 ++++-
|
||||
ui/gl/gl_surface_glx.cc | 41 ++++++++++++++++++++++++++++-------------
|
||||
2 files changed, 32 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
|
||||
index 50df0e4085..1753dd480b 100644
|
||||
--- a/ui/gl/BUILD.gn
|
||||
+++ b/ui/gl/BUILD.gn
|
||||
@@ -274,7 +274,10 @@ jumbo_component("gl") {
|
||||
"//build/config/linux:xext",
|
||||
]
|
||||
|
||||
- deps += [ "//ui/gfx/x" ]
|
||||
+ deps += [
|
||||
+ "//ui/base/x",
|
||||
+ "//ui/gfx/x",
|
||||
+ ]
|
||||
}
|
||||
if (is_win) {
|
||||
sources += [
|
||||
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
|
||||
index f4c13bed18..777bf767cb 100644
|
||||
--- a/ui/gl/gl_surface_glx.cc
|
||||
+++ b/ui/gl/gl_surface_glx.cc
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "base/time/time.h"
|
||||
#include "base/trace_event/trace_event.h"
|
||||
#include "build/build_config.h"
|
||||
+#include "ui/base/x/x11_util.h"
|
||||
#include "ui/events/platform/platform_event_source.h"
|
||||
#include "ui/gfx/x/x11.h"
|
||||
#include "ui/gfx/x/x11_connection.h"
|
||||
@@ -431,7 +432,9 @@ bool GLSurfaceGLX::InitializeOneOff() {
|
||||
}
|
||||
|
||||
const XVisualInfo& visual_info =
|
||||
- gl::GLVisualPickerGLX::GetInstance()->rgba_visual();
|
||||
+ ui::IsCompositingManagerPresent()
|
||||
+ ? gl::GLVisualPickerGLX::GetInstance()->rgba_visual()
|
||||
+ : gl::GLVisualPickerGLX::GetInstance()->system_visual();
|
||||
g_visual = visual_info.visual;
|
||||
g_depth = visual_info.depth;
|
||||
g_colormap =
|
||||
@@ -581,18 +584,30 @@ bool NativeViewGLSurfaceGLX::Initialize(GLSurfaceFormat format) {
|
||||
}
|
||||
size_ = gfx::Size(attributes.width, attributes.height);
|
||||
|
||||
- XSetWindowAttributes swa;
|
||||
- memset(&swa, 0, sizeof(swa));
|
||||
- swa.background_pixmap = 0;
|
||||
- swa.bit_gravity = NorthWestGravity;
|
||||
- swa.colormap = g_colormap;
|
||||
- swa.background_pixel = 0;
|
||||
- swa.border_pixel = 0;
|
||||
- window_ = XCreateWindow(
|
||||
- gfx::GetXDisplay(), parent_window_, 0 /* x */, 0 /* y */, size_.width(),
|
||||
- size_.height(), 0 /* border_width */, g_depth, InputOutput, g_visual,
|
||||
- CWBackPixmap | CWBitGravity | CWColormap | CWBackPixel | CWBorderPixel,
|
||||
- &swa);
|
||||
+ XSetWindowAttributes swa = {
|
||||
+ .background_pixmap = 0,
|
||||
+ .bit_gravity = NorthWestGravity,
|
||||
+ .colormap = g_colormap,
|
||||
+ .background_pixel = 0, // ARGB(0,0,0,0) for compositing WM
|
||||
+ .border_pixel = 0,
|
||||
+ };
|
||||
+ auto value_mask = CWBackPixmap | CWBitGravity | CWColormap | CWBorderPixel;
|
||||
+ if (ui::IsCompositingManagerPresent() &&
|
||||
+ XVisualIDFromVisual(attributes.visual) == XVisualIDFromVisual(g_visual)) {
|
||||
+ // When parent and child are using the same visual, the back buffer will be
|
||||
+ // shared between parent and child. If WM compositing is enabled, we set
|
||||
+ // child's background pixel to ARGB(0,0,0,0), so ARGB(0,0,0,0) will be
|
||||
+ // filled to the shared buffer, when the child window is mapped. It can
|
||||
+ // avoid an annoying flash when the child window is mapped below.
|
||||
+ // If WM compositing is disabled, we don't set the background pixel, so
|
||||
+ // nothing will be draw when the child window is mapped.
|
||||
+ value_mask |= CWBackPixel;
|
||||
+ }
|
||||
+
|
||||
+ window_ =
|
||||
+ XCreateWindow(gfx::GetXDisplay(), parent_window_, 0 /* x */, 0 /* y */,
|
||||
+ size_.width(), size_.height(), 0 /* border_width */,
|
||||
+ g_depth, InputOutput, g_visual, value_mask, &swa);
|
||||
if (!window_) {
|
||||
LOG(ERROR) << "XCreateWindow failed";
|
||||
return false;
|
||||
@@ -0,0 +1,21 @@
|
||||
Bug: https://bugs.gentoo.org/686982
|
||||
|
||||
TabStripModelChange has a defaulted default constructor and a const data member
|
||||
without a user-defined default constructor. This leads to a bug:
|
||||
|
||||
error: defaulting this default constructor would delete it after
|
||||
its first declaration
|
||||
|
||||
We declare the data member as non-const instead.
|
||||
|
||||
--- a/chrome/browser/ui/tabs/tab_strip_model_observer.h
|
||||
+++ b/chrome/browser/ui/tabs/tab_strip_model_observer.h
|
||||
@@ -103,7 +103,7 @@ class TabStripModelChange {
|
||||
|
||||
private:
|
||||
const Type type_ = kSelectionOnly;
|
||||
- const std::vector<Delta> deltas_;
|
||||
+ std::vector<Delta> deltas_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(TabStripModelChange);
|
||||
};
|
||||
@@ -1,78 +1,13 @@
|
||||
diff -Nuar a/third_party/skia/src/ports/SkFontHost_FreeType.cpp b/third_party/skia/src/ports/SkFontHost_FreeType.cpp
|
||||
--- a/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-09-04 22:11:58.000000000 +0300
|
||||
+++ b/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-09-11 23:05:41.613517599 +0300
|
||||
@@ -112,8 +112,6 @@
|
||||
--- third_party/skia/src/ports/SkFontHost_FreeType.cpp.orig 2019-01-20 10:54:56.415239030 +0000
|
||||
+++ third_party/skia/src/ports/SkFontHost_FreeType.cpp 2019-01-20 10:55:05.695307733 +0000
|
||||
@@ -121,8 +121,8 @@ public:
|
||||
: fGetVarDesignCoordinates(nullptr)
|
||||
, fGetVarAxisFlags(nullptr)
|
||||
, fLibrary(nullptr)
|
||||
- , fIsLCDSupported(false)
|
||||
- , fLCDExtra(0)
|
||||
+ , fIsLCDSupported(true)
|
||||
+ , fLCDExtra(2)
|
||||
{
|
||||
if (FT_New_Library(&gFTMemory, &fLibrary)) {
|
||||
return;
|
||||
@@ -173,12 +171,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
- // Setup LCD filtering. This reduces color fringes for LCD smoothed glyphs.
|
||||
- // The default has changed over time, so this doesn't mean the same thing to all users.
|
||||
- if (FT_Library_SetLcdFilter(fLibrary, FT_LCD_FILTER_DEFAULT) == 0) {
|
||||
- fIsLCDSupported = true;
|
||||
- fLCDExtra = 2; //Using a filter adds one full pixel to each side.
|
||||
- }
|
||||
+ FT_Library_SetLcdFilter(fLibrary, FT_LCD_FILTER_DEFAULT);
|
||||
}
|
||||
~FreeTypeLibrary() {
|
||||
if (fLibrary) {
|
||||
@@ -187,8 +180,6 @@
|
||||
}
|
||||
|
||||
FT_Library library() { return fLibrary; }
|
||||
- bool isLCDSupported() { return fIsLCDSupported; }
|
||||
- int lcdExtra() { return fLCDExtra; }
|
||||
|
||||
// FT_Get_{MM,Var}_{Blend,Design}_Coordinates were added in FreeType 2.7.1.
|
||||
// Prior to this there was no way to get the coordinates out of the FT_Face.
|
||||
@@ -205,8 +196,6 @@
|
||||
|
||||
private:
|
||||
FT_Library fLibrary;
|
||||
- bool fIsLCDSupported;
|
||||
- int fLCDExtra;
|
||||
|
||||
// FT_Library_SetLcdFilterWeights was introduced in FreeType 2.4.0.
|
||||
// The following platforms provide FreeType of at least 2.4.0.
|
||||
@@ -704,17 +693,6 @@
|
||||
rec->fTextSize = SkIntToScalar(1 << 14);
|
||||
}
|
||||
|
||||
- if (isLCD(*rec)) {
|
||||
- // TODO: re-work so that FreeType is set-up and selected by the SkFontMgr.
|
||||
- SkAutoMutexAcquire ama(gFTMutex);
|
||||
- ref_ft_library();
|
||||
- if (!gFTLibrary->isLCDSupported()) {
|
||||
- // If the runtime Freetype library doesn't support LCD, disable it here.
|
||||
- rec->fMaskFormat = SkMask::kA8_Format;
|
||||
- }
|
||||
- unref_ft_library();
|
||||
- }
|
||||
-
|
||||
SkPaint::Hinting h = rec->getHinting();
|
||||
if (SkPaint::kFull_Hinting == h && !isLCD(*rec)) {
|
||||
// collapse full->normal hinting if we're not doing LCD
|
||||
@@ -1109,11 +1087,11 @@
|
||||
void SkScalerContext_FreeType::updateGlyphIfLCD(SkGlyph* glyph) {
|
||||
if (isLCD(fRec)) {
|
||||
if (fLCDIsVert) {
|
||||
- glyph->fHeight += gFTLibrary->lcdExtra();
|
||||
- glyph->fTop -= gFTLibrary->lcdExtra() >> 1;
|
||||
+ glyph->fHeight += 2;
|
||||
+ glyph->fTop -= 1;
|
||||
} else {
|
||||
- glyph->fWidth += gFTLibrary->lcdExtra();
|
||||
- glyph->fLeft -= gFTLibrary->lcdExtra() >> 1;
|
||||
+ glyph->fWidth += 2;
|
||||
+ glyph->fLeft -= 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
diff --git a/third_party/blink/renderer/platform/text/character_property_data.h b/third_party/blink/renderer/platform/text/character_property_data.h
|
||||
index 28fb6a9..bb4dbd7 100644
|
||||
--- a/third_party/blink/renderer/platform/text/character_property_data.h
|
||||
+++ b/third_party/blink/renderer/platform/text/character_property_data.h
|
||||
@@ -244,10 +244,12 @@ static const UChar32 kIsHangulRanges[] = {
|
||||
0xD7B0, 0xD7FF,
|
||||
// Halfwidth Hangul Jamo
|
||||
// https://www.unicode.org/charts/nameslist/c_FF00.html
|
||||
- 0xFFA0, 0xFFDC,
|
||||
+ 0xFFA0, 0xFFDB,
|
||||
};
|
||||
|
||||
-static const UChar32 kIsHangulArray[] = {};
|
||||
+static const UChar32 kIsHangulArray[] = {
|
||||
+ 0xFFDC,
|
||||
+};
|
||||
|
||||
#if !defined(USING_SYSTEM_ICU)
|
||||
// Freezed trie tree, see character_property_data_generator.cc.
|
||||
@@ -0,0 +1,22 @@
|
||||
diff -upr chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc chromium-71.0.3578.80/chrome/common/chrome_content_client.cc
|
||||
--- chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc 2018-12-03 20:16:43.000000000 +0000
|
||||
+++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc 2018-12-04 21:34:28.658206942 +0000
|
||||
@@ -99,7 +99,7 @@
|
||||
// Registers Widevine CDM if Widevine is enabled, the Widevine CDM is
|
||||
// bundled and not a component. When the Widevine CDM is a component, it is
|
||||
// registered in widevine_cdm_component_installer.cc.
|
||||
-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
|
||||
+#if BUILDFLAG(ENABLE_WIDEVINE) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
|
||||
#define REGISTER_BUNDLED_WIDEVINE_CDM
|
||||
#include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
|
||||
// TODO(crbug.com/663554): Needed for WIDEVINE_CDM_VERSION_STRING. Support
|
||||
diff -upr chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h
|
||||
--- chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-03 20:18:01.000000000 +0000
|
||||
+++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-04 21:37:45.635374949 +0000
|
||||
@@ -12,4 +12,6 @@
|
||||
// - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
|
||||
// as a string, e.g., "1.0.123.456").
|
||||
|
||||
+#define WIDEVINE_CDM_VERSION_STRING "unknown"
|
||||
+
|
||||
#endif // WIDEVINE_CDM_VERSION_H_
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
From e6a0cdf0b7045e7f9029cce287bcc539052ef79a Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Backer <backer@chromium.org>
|
||||
Date: Mon, 17 Jun 2019 16:46:37 +0000
|
||||
Subject: [PATCH] Disallow partial swaps for linux based on gl_version_string
|
||||
|
||||
This was missed in https://chromium-review.googlesource.com/c/chromium/src/+/1601182
|
||||
|
||||
Bug: 973216,941670,957541,948640
|
||||
Change-Id: I3d2002c38fe09d87c9a3db951dfc2ab112319caf
|
||||
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662528
|
||||
Reviewed-by: Peng Huang <penghuang@chromium.org>
|
||||
Commit-Queue: Peng Huang <penghuang@chromium.org>
|
||||
Commit-Queue: Jonathan Backer <backer@chromium.org>
|
||||
Auto-Submit: Jonathan Backer <backer@chromium.org>
|
||||
Cr-Commit-Position: refs/heads/master@{#669701}
|
||||
---
|
||||
gpu/config/gpu_driver_bug_list.json | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/gpu/config/gpu_driver_bug_list.json b/gpu/config/gpu_driver_bug_list.json
|
||||
index 591a0642e8..e4a123ccd0 100644
|
||||
--- a/gpu/config/gpu_driver_bug_list.json
|
||||
+++ b/gpu/config/gpu_driver_bug_list.json
|
||||
@@ -1865,10 +1865,6 @@
|
||||
},
|
||||
"gl_type": "gl",
|
||||
"gl_version_string": ".*Mesa.*",
|
||||
- "direct_rendering_version": {
|
||||
- "op" : "<",
|
||||
- "value": "2.3"
|
||||
- },
|
||||
"features": [
|
||||
"disable_post_sub_buffers_for_onscreen_surfaces"
|
||||
]
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
From aeed4d1f15ce84a17ea0bc219e258dc4982b2368 Mon Sep 17 00:00:00 2001
|
||||
From: Jose Dapena Paz <jose.dapena@lge.com>
|
||||
Date: Fri, 26 Apr 2019 20:07:05 +0000
|
||||
Subject: [PATCH] libstdc++: do not assume unique_ptr has ostream operator
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
CompositorFrameReportingController is using DCHECK_NE to compare
|
||||
several unique_ptr. This is valid in libc++, but on libstdc++ unique_ptr
|
||||
does not have an ostream operator.
|
||||
|
||||
Change-Id: I9f23ef17f02b9e107694ba493f6f8f3caf5cac4d
|
||||
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584292
|
||||
Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org>
|
||||
Commit-Queue: José Dapena Paz <jose.dapena@lge.com>
|
||||
Cr-Commit-Position: refs/heads/master@{#654570}
|
||||
---
|
||||
cc/scheduler/compositor_frame_reporting_controller.cc | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cc/scheduler/compositor_frame_reporting_controller.cc b/cc/scheduler/compositor_frame_reporting_controller.cc
|
||||
index f1587ed158..1b17021fd2 100644
|
||||
--- a/cc/scheduler/compositor_frame_reporting_controller.cc
|
||||
+++ b/cc/scheduler/compositor_frame_reporting_controller.cc
|
||||
@@ -31,8 +31,8 @@ void CompositorFrameReportingController::WillBeginImplFrame() {
|
||||
|
||||
void CompositorFrameReportingController::WillBeginMainFrame() {
|
||||
DCHECK(reporters_[PipelineStage::kBeginImplFrame]);
|
||||
- DCHECK_NE(reporters_[PipelineStage::kBeginMainFrame],
|
||||
- reporters_[PipelineStage::kBeginImplFrame]);
|
||||
+ DCHECK(reporters_[PipelineStage::kBeginMainFrame] !=
|
||||
+ reporters_[PipelineStage::kBeginImplFrame]);
|
||||
reporters_[PipelineStage::kBeginImplFrame]->StartStage(
|
||||
"SendBeginMainFrameToCommit");
|
||||
AdvanceReporterStage(PipelineStage::kBeginImplFrame,
|
||||
@@ -1,21 +0,0 @@
|
||||
--- 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> \
|
||||
@@ -1,11 +0,0 @@
|
||||
--- 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>
|
||||
@@ -1,11 +0,0 @@
|
||||
--- 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) {
|
||||
@@ -1,111 +0,0 @@
|
||||
--- 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);
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
--- 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
|
||||
@@ -1,32 +0,0 @@
|
||||
--- 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"
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
--- 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;
|
||||
@@ -1,155 +0,0 @@
|
||||
--- 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);
|
||||
@@ -1,211 +0,0 @@
|
||||
--- 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 {
|
||||
@@ -1,812 +0,0 @@
|
||||
--- 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;
|
||||
@@ -1,554 +0,0 @@
|
||||
--- chromium-69.0.3472.3/third_party/webrtc/video/video_receive_stream.cc.gcc7 2018-06-26 06:35:08.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/third_party/webrtc/video/video_receive_stream.cc 2018-07-07 12:13:45.579733235 +0200
|
||||
@@ -320,10 +320,6 @@
|
||||
const CodecSpecificInfo* codec_specific_info,
|
||||
const RTPFragmentationHeader* fragmentation) {
|
||||
stats_proxy_.OnPreDecode(encoded_image, codec_specific_info);
|
||||
- size_t simulcast_idx = 0;
|
||||
- if (codec_specific_info->codecType == kVideoCodecVP8) {
|
||||
- simulcast_idx = codec_specific_info->codecSpecific.VP8.simulcastIdx;
|
||||
- }
|
||||
{
|
||||
rtc::CritScope lock(&ivf_writer_lock_);
|
||||
if (ivf_writer_.get()) {
|
||||
--- chromium-69.0.3472.3/third_party/crashpad/crashpad/compat/non_win/dbghelp.h.gcc7 2018-06-26 06:33:19.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/third_party/crashpad/crashpad/compat/non_win/dbghelp.h 2018-07-07 12:30:05.410672630 +0200
|
||||
@@ -29,7 +29,7 @@
|
||||
//!
|
||||
//! A hex dump of a little-endian minidump file will begin with the string
|
||||
//! “MDMP”.
|
||||
-#define MINIDUMP_SIGNATURE ('PMDM') // 0x4d444d50
|
||||
+#define MINIDUMP_SIGNATURE (0x4d444d50) // 'PMDM'
|
||||
|
||||
//! \brief The version of a minidump file, stored in MINIDUMP_HEADER::Version.
|
||||
#define MINIDUMP_VERSION (42899)
|
||||
--- chromium-69.0.3472.3/chrome/browser/chrome_browser_main.cc.gcc7 2018-06-26 06:32:57.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/chrome/browser/chrome_browser_main.cc 2018-07-07 13:30:10.409446615 +0200
|
||||
@@ -740,9 +740,8 @@
|
||||
chrome::AttemptExit();
|
||||
return false;
|
||||
}
|
||||
-#else
|
||||
- return true;
|
||||
#endif
|
||||
+ return true;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
--- chromium-69.0.3472.3/chrome/browser/resource_coordinator/tab_lifecycle_unit.cc.gcc7 2018-06-26 06:32:58.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/chrome/browser/resource_coordinator/tab_lifecycle_unit.cc 2018-07-07 13:47:27.816647653 +0200
|
||||
@@ -154,6 +154,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+ return false;
|
||||
}
|
||||
|
||||
StateChangeReason DiscardReasonToStateChangeReason(DiscardReason reason) {
|
||||
@@ -165,6 +166,7 @@
|
||||
case DiscardReason::kUrgent:
|
||||
return StateChangeReason::SYSTEM_MEMORY_PRESSURE;
|
||||
}
|
||||
+ return StateChangeReason::BROWSER_INITIATED;
|
||||
}
|
||||
|
||||
struct FeatureUsageEntry {
|
||||
--- chromium-69.0.3472.3/chrome/browser/ui/views/harmony/material_refresh_layout_provider.cc.gcc7 2018-06-26 06:32:58.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/chrome/browser/ui/views/harmony/material_refresh_layout_provider.cc 2018-07-07 14:36:14.447584185 +0200
|
||||
@@ -33,9 +33,6 @@
|
||||
views::EmphasisMetric emphasis_metric,
|
||||
const gfx::Size& size) const {
|
||||
switch (emphasis_metric) {
|
||||
- case views::EMPHASIS_NONE:
|
||||
- NOTREACHED();
|
||||
- return 0;
|
||||
case views::EMPHASIS_LOW:
|
||||
case views::EMPHASIS_MEDIUM:
|
||||
return 4;
|
||||
@@ -43,15 +40,15 @@
|
||||
return 8;
|
||||
case views::EMPHASIS_MAXIMUM:
|
||||
return std::min(size.width(), size.height()) / 2;
|
||||
+ case views::EMPHASIS_NONE:
|
||||
+ NOTREACHED();
|
||||
}
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
int MaterialRefreshLayoutProvider::GetShadowElevationMetric(
|
||||
views::EmphasisMetric emphasis_metric) const {
|
||||
switch (emphasis_metric) {
|
||||
- case views::EMPHASIS_NONE:
|
||||
- NOTREACHED();
|
||||
- return 0;
|
||||
case views::EMPHASIS_LOW:
|
||||
return 1;
|
||||
case views::EMPHASIS_MEDIUM:
|
||||
@@ -60,7 +57,10 @@
|
||||
return 3;
|
||||
case views::EMPHASIS_MAXIMUM:
|
||||
return 16;
|
||||
+ case views::EMPHASIS_NONE:
|
||||
+ NOTREACHED();
|
||||
}
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
gfx::ShadowValues MaterialRefreshLayoutProvider::MakeShadowValues(
|
||||
--- chromium-69.0.3472.3/chrome/browser/ui/views/passwords/password_generation_popup_view_views.cc.gcc7 2018-06-26 06:32:58.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/chrome/browser/ui/views/passwords/password_generation_popup_view_views.cc 2018-07-07 15:04:10.502088288 +0200
|
||||
@@ -55,8 +55,8 @@
|
||||
views::Label* suggestion_label = new views::Label(
|
||||
suggestion, ChromeTextContext::CONTEXT_BODY_TEXT_LARGE,
|
||||
state == PasswordGenerationPopupController::kOfferGeneration
|
||||
- ? views::style::STYLE_PRIMARY
|
||||
- : STYLE_SECONDARY);
|
||||
+ ? int(views::style::STYLE_PRIMARY)
|
||||
+ : int(STYLE_SECONDARY));
|
||||
layout->AddView(suggestion_label);
|
||||
|
||||
DCHECK(!password_label_);
|
||||
--- chromium-69.0.3472.3/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc.gcc7-7 2018-06-26 06:33:00.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc 2018-07-07 15:22:43.289751740 +0200
|
||||
@@ -313,8 +313,6 @@
|
||||
PageloadMetrics_ConnectionType ProtoConnectionTypeFromConnectionType(
|
||||
net::NetworkChangeNotifier::ConnectionType connection_type) {
|
||||
switch (connection_type) {
|
||||
- case net::NetworkChangeNotifier::CONNECTION_UNKNOWN:
|
||||
- return PageloadMetrics_ConnectionType_CONNECTION_UNKNOWN;
|
||||
case net::NetworkChangeNotifier::CONNECTION_ETHERNET:
|
||||
return PageloadMetrics_ConnectionType_CONNECTION_ETHERNET;
|
||||
case net::NetworkChangeNotifier::CONNECTION_WIFI:
|
||||
@@ -329,7 +327,10 @@
|
||||
return PageloadMetrics_ConnectionType_CONNECTION_NONE;
|
||||
case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
|
||||
return PageloadMetrics_ConnectionType_CONNECTION_BLUETOOTH;
|
||||
+ case net::NetworkChangeNotifier::CONNECTION_UNKNOWN:
|
||||
+ break;
|
||||
}
|
||||
+ return PageloadMetrics_ConnectionType_CONNECTION_UNKNOWN;
|
||||
}
|
||||
|
||||
RequestInfo_Protocol ProtoRequestInfoProtocolFromRequestInfoProtocol(
|
||||
@@ -342,8 +343,9 @@
|
||||
case DataReductionProxyData::RequestInfo::Protocol::QUIC:
|
||||
return RequestInfo_Protocol_QUIC;
|
||||
case DataReductionProxyData::RequestInfo::Protocol::UNKNOWN:
|
||||
- return RequestInfo_Protocol_UNKNOWN;
|
||||
+ break;
|
||||
}
|
||||
+ return RequestInfo_Protocol_UNKNOWN;
|
||||
}
|
||||
|
||||
net::ProxyServer::Scheme SchemeFromProxyScheme(
|
||||
--- chromium-69.0.3472.3/components/previews/core/previews_black_list.cc.gcc7 2018-06-26 06:33:01.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/components/previews/core/previews_black_list.cc 2018-07-07 15:41:14.295381780 +0200
|
||||
@@ -34,6 +34,7 @@
|
||||
case blacklist::BlacklistReason::kAllowed:
|
||||
return PreviewsEligibilityReason::ALLOWED;
|
||||
}
|
||||
+ return PreviewsEligibilityReason::LAST;
|
||||
}
|
||||
|
||||
}
|
||||
--- chromium-69.0.3472.3/base/callback_helpers.h.gcc7 2018-06-26 06:32:56.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/base/callback_helpers.h 2018-07-07 16:00:33.724127746 +0200
|
||||
@@ -91,7 +91,7 @@
|
||||
void ReplaceClosure(OnceClosure closure);
|
||||
|
||||
// Releases the Closure without calling.
|
||||
- OnceClosure Release() WARN_UNUSED_RESULT;
|
||||
+ OnceClosure Release();
|
||||
|
||||
private:
|
||||
OnceClosure closure_;
|
||||
--- chromium-69.0.3472.3/content/browser/frame_host/frame_tree_node.cc.gcc7 2018-06-26 06:33:02.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/content/browser/frame_host/frame_tree_node.cc 2018-07-07 18:37:53.236178023 +0200
|
||||
@@ -624,6 +624,7 @@
|
||||
return NotifyUserActivation();
|
||||
}
|
||||
NOTREACHED() << "Invalid update_type.";
|
||||
+ return false;
|
||||
}
|
||||
|
||||
void FrameTreeNode::OnSetHasReceivedUserGestureBeforeNavigation(bool value) {
|
||||
--- chromium-69.0.3472.3/device/bluetooth/bluetooth_remote_gatt_characteristic.cc.gcc7 2018-06-26 06:33:02.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/device/bluetooth/bluetooth_remote_gatt_characteristic.cc 2018-07-07 21:00:37.557253268 +0200
|
||||
@@ -362,14 +362,15 @@
|
||||
Properties properties = GetProperties();
|
||||
bool hasNotify = (properties & PROPERTY_NOTIFY) != 0;
|
||||
bool hasIndicate = (properties & PROPERTY_INDICATE) != 0;
|
||||
- if (!notification_type)
|
||||
- return hasNotify || hasIndicate;
|
||||
- switch (notification_type.value()) {
|
||||
- case NotificationType::kNotification:
|
||||
- return hasNotify;
|
||||
- case NotificationType::kIndication:
|
||||
- return hasIndicate;
|
||||
+ if (notification_type) {
|
||||
+ switch (notification_type.value()) {
|
||||
+ case NotificationType::kNotification:
|
||||
+ return hasNotify;
|
||||
+ case NotificationType::kIndication:
|
||||
+ return hasIndicate;
|
||||
+ }
|
||||
}
|
||||
+ return hasNotify || hasIndicate;
|
||||
}
|
||||
|
||||
} // namespace device
|
||||
--- chromium-69.0.3472.3/ui/base/mojo/clipboard_struct_traits.h.gcc7 2018-06-26 06:33:23.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/ui/base/mojo/clipboard_struct_traits.h 2018-07-07 22:02:21.462873681 +0200
|
||||
@@ -21,6 +21,7 @@
|
||||
case ui::CLIPBOARD_TYPE_DRAG:
|
||||
return ui::mojom::ClipboardType::DRAG;
|
||||
}
|
||||
+ return ui::mojom::ClipboardType(int(ui::mojom::ClipboardType::kMaxValue) + 1);
|
||||
}
|
||||
|
||||
static bool FromMojom(ui::mojom::ClipboardType type, ui::ClipboardType* out) {
|
||||
--- chromium-69.0.3472.3/pdf/out_of_process_instance.cc.gcc7 2018-06-26 06:33:05.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/pdf/out_of_process_instance.cc 2018-07-07 22:24:15.654709688 +0200
|
||||
@@ -471,7 +471,6 @@
|
||||
|
||||
text_input_ = std::make_unique<pp::TextInput_Dev>(this);
|
||||
|
||||
- bool enable_javascript = false;
|
||||
const char* stream_url = nullptr;
|
||||
const char* original_url = nullptr;
|
||||
const char* top_level_url = nullptr;
|
||||
@@ -491,8 +490,6 @@
|
||||
} else if (strcmp(argn[i], "top-toolbar-height") == 0) {
|
||||
success =
|
||||
base::StringToInt(argv[i], &top_toolbar_height_in_viewport_coords_);
|
||||
- } else if (strcmp(argn[i], "javascript") == 0) {
|
||||
- enable_javascript = (strcmp(argv[i], "allow") == 0);
|
||||
}
|
||||
if (!success)
|
||||
return false;
|
||||
--- chromium-69.0.3472.3/ui/views/layout/layout_provider.cc.gcc7 2018-06-26 06:33:24.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/ui/views/layout/layout_provider.cc 2018-07-07 22:46:19.302390595 +0200
|
||||
@@ -148,7 +148,7 @@
|
||||
switch (emphasis_metric) {
|
||||
case views::EMPHASIS_NONE:
|
||||
NOTREACHED();
|
||||
- return 0;
|
||||
+ break;
|
||||
case EMPHASIS_LOW:
|
||||
case EMPHASIS_MEDIUM:
|
||||
return is_touch ? 4 : 2;
|
||||
@@ -157,6 +157,7 @@
|
||||
case EMPHASIS_MAXIMUM:
|
||||
return is_touch ? std::min(size.width(), size.height()) / 2 : 4;
|
||||
}
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
int LayoutProvider::GetShadowElevationMetric(
|
||||
--- chromium-69.0.3472.3/content/renderer/input/input_event_prediction.cc.gcc7 2018-06-26 06:33:02.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/content/renderer/input/input_event_prediction.cc 2018-07-07 23:26:14.070643691 +0200
|
||||
@@ -77,6 +77,7 @@
|
||||
case PredictorType::kKalman:
|
||||
return std::make_unique<ui::KalmanPredictor>();
|
||||
}
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
void InputEventPrediction::UpdatePrediction(const WebInputEvent& event) {
|
||||
--- chromium-69.0.3472.3/third_party/blink/renderer/platform/heap/heap_stats_collector.h.gcc7 2018-06-26 06:33:19.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/third_party/blink/renderer/platform/heap/heap_stats_collector.h 2018-07-08 02:47:57.843418842 +0200
|
||||
@@ -95,6 +95,7 @@
|
||||
case Id::kVisitStackRoots:
|
||||
return "BlinkGC.VisitStackRoots";
|
||||
}
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
static constexpr int kNumScopeIds = kLastScopeId + 1;
|
||||
--- chromium-69.0.3472.3/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc.gcc7 2018-06-26 06:33:19.000000000 +0200
|
||||
+++ chromium-69.0.3472.3/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc 2018-07-08 10:57:14.446270568 +0200
|
||||
@@ -622,7 +622,7 @@
|
||||
switch (old_state) {
|
||||
case PageLifecycleState::kUnknown:
|
||||
// We don't track the initial transition.
|
||||
- return base::nullopt;
|
||||
+ break;
|
||||
case PageLifecycleState::kActive:
|
||||
switch (new_state) {
|
||||
case PageLifecycleState::kHiddenForegrounded:
|
||||
@@ -631,7 +631,7 @@
|
||||
return PageLifecycleStateTransition::kActiveToHiddenBackgrounded;
|
||||
default:
|
||||
NOTREACHED();
|
||||
- return base::nullopt;
|
||||
+ break;
|
||||
}
|
||||
case PageLifecycleState::kHiddenForegrounded:
|
||||
switch (new_state) {
|
||||
@@ -644,7 +644,7 @@
|
||||
return PageLifecycleStateTransition::kHiddenForegroundedToFrozen;
|
||||
default:
|
||||
NOTREACHED();
|
||||
- return base::nullopt;
|
||||
+ break;
|
||||
}
|
||||
case PageLifecycleState::kHiddenBackgrounded:
|
||||
switch (new_state) {
|
||||
@@ -657,8 +657,8 @@
|
||||
return PageLifecycleStateTransition::kHiddenBackgroundedToFrozen;
|
||||
default:
|
||||
NOTREACHED();
|
||||
- return base::nullopt;
|
||||
- }
|
||||
+ break;
|
||||
+ }
|
||||
case PageLifecycleState::kFrozen:
|
||||
switch (new_state) {
|
||||
case PageLifecycleState::kActive:
|
||||
@@ -669,9 +669,10 @@
|
||||
return PageLifecycleStateTransition::kFrozenToHiddenBackgrounded;
|
||||
default:
|
||||
NOTREACHED();
|
||||
- return base::nullopt;
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
+ return base::nullopt;
|
||||
}
|
||||
|
||||
// static
|
||||
--- chromium-69.0.3497.4/third_party/pdfium/core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp.gcc7 2018-07-21 09:14:59.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/pdfium/core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp 2018-07-21 18:57:05.372328475 +0200
|
||||
@@ -50,10 +50,8 @@
|
||||
}
|
||||
m_pBitmapDevice = pdfium::MakeUnique<CFX_DefaultRenderDevice>();
|
||||
FXDIB_Format dibFormat = FXDIB_Rgb;
|
||||
- int32_t bpp = 24;
|
||||
if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_ALPHA_OUTPUT) {
|
||||
dibFormat = FXDIB_Argb;
|
||||
- bpp = 32;
|
||||
}
|
||||
while (1) {
|
||||
FX_RECT bitmap_rect =
|
||||
--- chromium-69.0.3497.4/third_party/pdfium/fxjs/cjs_field.cpp.gcc7 2018-07-21 09:14:59.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/pdfium/fxjs/cjs_field.cpp 2018-07-21 20:25:41.470285320 +0200
|
||||
@@ -703,14 +703,16 @@
|
||||
|
||||
CPDF_FormField* pFormField = GetFirstFormField();
|
||||
if (!pFormField)
|
||||
+ {
|
||||
return CJS_Return(JSMessage::kBadObjectError);
|
||||
-
|
||||
- return CJS_Return(JSMessage::kBadObjectError);
|
||||
+ }
|
||||
|
||||
CPDFSDK_Widget* pWidget =
|
||||
GetWidget(m_pFormFillEnv.Get(), GetSmartFieldControl(pFormField));
|
||||
if (!pWidget)
|
||||
+ {
|
||||
return CJS_Return(JSMessage::kBadObjectError);
|
||||
+ }
|
||||
|
||||
switch (pWidget->GetBorderStyle()) {
|
||||
case BorderStyle::SOLID:
|
||||
--- chromium-69.0.3497.4/components/policy/core/common/policy_proto_decoders.cc.gcc7 2018-07-21 09:12:56.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/components/policy/core/common/policy_proto_decoders.cc 2018-07-21 21:38:32.566870921 +0200
|
||||
@@ -43,6 +43,7 @@
|
||||
case em::PolicyOptions::UNSET:
|
||||
return false;
|
||||
}
|
||||
+ return false;
|
||||
}
|
||||
|
||||
// Convert a BooleanPolicyProto to a bool base::Value.
|
||||
@@ -186,4 +187,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
-} // namespace policy
|
||||
\ No newline at end of file
|
||||
+} // namespace policy
|
||||
--- chromium-69.0.3497.4/components/password_manager/core/browser/browser_save_password_progress_logger.cc.gcc7 2018-07-21 09:12:55.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/components/password_manager/core/browser/browser_save_password_progress_logger.cc 2018-07-21 23:21:48.274812853 +0200
|
||||
@@ -87,6 +87,7 @@
|
||||
case AutofillUploadContents::Field::FIRST_USE:
|
||||
return "First use";
|
||||
}
|
||||
+ return "";
|
||||
}
|
||||
|
||||
} // namespace
|
||||
--- chromium-69.0.3497.4/components/previews/content/previews_hints.cc.gcc7 2018-07-21 09:12:56.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/components/previews/content/previews_hints.cc 2018-07-21 23:28:56.375131778 +0200
|
||||
@@ -95,6 +95,7 @@
|
||||
case optimization_guide::proto::RESOURCE_LOADING:
|
||||
return PreviewsType::RESOURCE_LOADING_HINTS;
|
||||
}
|
||||
+ return base::Optional<PreviewsType>();
|
||||
}
|
||||
|
||||
void RecordProcessHintsResult(PreviewsProcessHintsResult result) {
|
||||
--- chromium-69.0.3497.4/content/browser/renderer_host/input/mouse_wheel_event_queue.cc.gcc7 2018-07-21 09:13:03.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/content/browser/renderer_host/input/mouse_wheel_event_queue.cc 2018-07-21 23:53:41.085484269 +0200
|
||||
@@ -178,13 +178,11 @@
|
||||
bool current_phase_ended = false;
|
||||
bool scroll_phase_ended = false;
|
||||
bool momentum_phase_ended = false;
|
||||
- bool has_phase_info = false;
|
||||
|
||||
if (event_sent_for_gesture_ack_->event.phase !=
|
||||
blink::WebMouseWheelEvent::kPhaseNone ||
|
||||
event_sent_for_gesture_ack_->event.momentum_phase !=
|
||||
blink::WebMouseWheelEvent::kPhaseNone) {
|
||||
- has_phase_info = true;
|
||||
scroll_phase_ended = event_sent_for_gesture_ack_->event.phase ==
|
||||
blink::WebMouseWheelEvent::kPhaseEnded ||
|
||||
event_sent_for_gesture_ack_->event.phase ==
|
||||
--- chromium-69.0.3497.4/content/browser/web_package/signed_exchange_handler.cc.gcc7 2018-07-21 20:30:02.788552807 +0200
|
||||
+++ chromium-69.0.3497.4/content/browser/web_package/signed_exchange_handler.cc 2018-07-22 00:32:42.325559060 +0200
|
||||
@@ -499,7 +499,7 @@
|
||||
base::StringPrintf(
|
||||
"CT verification failed. result: %s, policy compliance: %d",
|
||||
net::ErrorToShortString(ct_result).c_str(),
|
||||
- ct_verify_result.policy_compliance),
|
||||
+ int(ct_verify_result.policy_compliance)),
|
||||
std::make_pair(0 /* signature_index */,
|
||||
SignedExchangeError::Field::kSignatureCertUrl));
|
||||
RunErrorCallback(net::ERR_INVALID_SIGNED_EXCHANGE);
|
||||
--- chromium-69.0.3497.4/net/third_party/quic/core/quic_framer.cc.gcc7 2018-07-21 09:13:13.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/net/third_party/quic/core/quic_framer.cc 2018-07-22 01:30:27.093813461 +0200
|
||||
@@ -3634,7 +3634,6 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
- size_t num_timestamps_offset = 0;
|
||||
size_t max_num_ack_blocks = available_timestamp_and_ack_block_bytes /
|
||||
(ack_block_length + PACKET_1BYTE_PACKET_NUMBER);
|
||||
|
||||
@@ -3652,7 +3651,6 @@
|
||||
|
||||
// Write a placeholder for the number of timestamps which will be
|
||||
// overwritten after the ack blocks have been written.
|
||||
- num_timestamps_offset = writer->length();
|
||||
uint8_t num_timestamps = 0;
|
||||
if (!writer->WriteUInt8(num_timestamps)) {
|
||||
return false;
|
||||
--- chromium-69.0.3497.4/services/ui/public/cpp/gpu/command_buffer_metrics.cc.gcc7 2018-07-21 09:13:14.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/services/ui/public/cpp/gpu/command_buffer_metrics.cc 2018-07-22 02:02:14.833006828 +0200
|
||||
@@ -87,6 +87,7 @@
|
||||
case ContextType::FOR_TESTING:
|
||||
return "ForTesting";
|
||||
}
|
||||
+ return "Unexpected";
|
||||
}
|
||||
|
||||
void UmaRecordContextInitFailed(ContextType type) {
|
||||
--- chromium-69.0.3497.4/third_party/blink/renderer/modules/peerconnection/rtc_rtp_transceiver.cc.gcc7 2018-07-21 09:13:41.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/blink/renderer/modules/peerconnection/rtc_rtp_transceiver.cc 2018-07-22 02:11:31.506330451 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
case webrtc::RtpTransceiverDirection::kInactive:
|
||||
return "inactive";
|
||||
}
|
||||
+ return "";
|
||||
}
|
||||
|
||||
String OptionalTransceiverDirectionToString(
|
||||
--- chromium-69.0.3497.4/media/blink/watch_time_reporter.cc.gcc7 2018-07-21 09:13:09.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/media/blink/watch_time_reporter.cc 2018-07-22 03:13:23.483720815 +0200
|
||||
@@ -572,6 +572,7 @@
|
||||
case DisplayType::kPictureInPicture:
|
||||
return DISPLAY_TYPE_KEY(DisplayPictureInPicture);
|
||||
}
|
||||
+ return DISPLAY_TYPE_KEY(All);
|
||||
}
|
||||
|
||||
#undef DISPLAY_TYPE_KEY
|
||||
--- chromium-69.0.3497.4/third_party/blink/renderer/core/css/style_environment_variables.cc.gcc7 2018-07-21 09:13:40.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/blink/renderer/core/css/style_environment_variables.cc 2018-07-22 10:53:45.772448293 +0200
|
||||
@@ -63,6 +63,7 @@
|
||||
case UADefinedVariable::kSafeAreaInsetRight:
|
||||
return "safe-area-inset-right";
|
||||
default:
|
||||
+ return "";
|
||||
break;
|
||||
}
|
||||
|
||||
--- chromium-69.0.3497.4/third_party/blink/renderer/core/frame/local_frame_view.cc.gcc7 2018-07-21 20:30:02.719554057 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/blink/renderer/core/frame/local_frame_view.cc 2018-07-22 12:07:12.229220576 +0200
|
||||
@@ -3211,7 +3211,7 @@
|
||||
|
||||
FloatPoint LocalFrameView::ConvertToContainingEmbeddedContentView(
|
||||
const FloatPoint& local_point) const {
|
||||
- if (LocalFrameView* parent = ParentFrameView()) {
|
||||
+ if (ParentFrameView() != 0) {
|
||||
auto* layout_object = frame_->OwnerLayoutObject();
|
||||
if (!layout_object)
|
||||
return local_point;
|
||||
--- chromium-69.0.3497.4/third_party/blink/renderer/core/xmlhttprequest/xml_http_request.cc.gcc7 2018-07-21 09:13:41.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/blink/renderer/core/xmlhttprequest/xml_http_request.cc 2018-07-22 12:12:33.199377829 +0200
|
||||
@@ -1753,9 +1753,6 @@
|
||||
unsigned long identifier,
|
||||
const ResourceResponse& response,
|
||||
std::unique_ptr<WebDataConsumerHandle> handle) {
|
||||
- // TODO(yhirano): Remove this CHECK: see https://crbug.com/570946.
|
||||
- CHECK(&response);
|
||||
-
|
||||
ALLOW_UNUSED_LOCAL(handle);
|
||||
DCHECK(!handle);
|
||||
NETWORK_DVLOG(1) << this << " didReceiveResponse(" << identifier << ")";
|
||||
--- chromium-69.0.3497.4/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc.gcc7 2018-07-21 09:13:41.000000000 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc 2018-07-22 12:42:37.155347296 +0200
|
||||
@@ -56,6 +56,7 @@
|
||||
}
|
||||
|
||||
NOTREACHED();
|
||||
+ return "";
|
||||
}
|
||||
|
||||
} // namespace
|
||||
--- chromium-69.0.3497.4/third_party/blink/renderer/platform/text/character_property_data_generator.h.gcc7 2018-07-22 13:38:55.938619906 +0200
|
||||
+++ chromium-69.0.3497.4/third_party/blink/renderer/platform/text/character_property_data_generator.h 2018-07-22 13:39:12.271315025 +0200
|
||||
@@ -247,7 +247,7 @@
|
||||
0xFFA0, 0xFFDC,
|
||||
};
|
||||
|
||||
-static const UChar32 kIsHangulArray[] = {};
|
||||
+static const UChar32 kIsHangulArray[] = {0};
|
||||
|
||||
} // namespace blink
|
||||
|
||||
--- chromium-69.0.3497.42/chrome/browser/resource_coordinator/local_site_characteristics_webcontents_observer.cc.gcc7 2018-08-17 03:05:19.000000000 +0200
|
||||
+++ chromium-69.0.3497.42/chrome/browser/resource_coordinator/local_site_characteristics_webcontents_observer.cc 2018-08-18 23:31:30.084822331 +0200
|
||||
@@ -254,9 +254,11 @@
|
||||
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
||||
|
||||
if (ShouldIgnoreFeatureUsageEvent(feature_type))
|
||||
+ {
|
||||
return;
|
||||
+ }
|
||||
|
||||
- (writer_.get()->*method)();
|
||||
+ (writer_.get()->*method)();
|
||||
}
|
||||
|
||||
void LocalSiteCharacteristicsWebContentsObserver::OnSiteLoaded() {
|
||||
--- chromium-69.0.3497.42/content/renderer/media/webrtc/peer_connection_tracker.cc.gcc7 2018-08-17 03:05:35.000000000 +0200
|
||||
+++ chromium-69.0.3497.42/content/renderer/media/webrtc/peer_connection_tracker.cc 2018-08-19 10:00:21.171828248 +0200
|
||||
@@ -113,6 +113,7 @@
|
||||
case webrtc::RtpTransceiverDirection::kInactive:
|
||||
return "'inactive'";
|
||||
}
|
||||
+ return "";
|
||||
}
|
||||
|
||||
static const char* SerializeOptionalDirection(
|
||||
--- chromium-69.0.3497.42/third_party/blink/renderer/core/html/media/media_controls.cc.gcc7 2018-08-17 03:06:24.000000000 +0200
|
||||
+++ chromium-69.0.3497.42/third_party/blink/renderer/core/html/media/media_controls.cc 2018-08-19 12:30:24.128429583 +0200
|
||||
@@ -39,6 +39,7 @@
|
||||
}
|
||||
|
||||
NOTREACHED();
|
||||
+ return AtomicString();
|
||||
}
|
||||
|
||||
MediaControls::MediaControls(HTMLMediaElement& media_element)
|
||||
@@ -1,12 +0,0 @@
|
||||
--- 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(¤t_, 0, sizeof(current_));
|
||||
+#pragma GCC diagnostic pop
|
||||
}
|
||||
|
||||
void ThreadHeapStatsCollector::UpdateReason(BlinkGC::GCReason reason) {
|
||||
@@ -1,13 +0,0 @@
|
||||
--- 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,
|
||||
-228
@@ -1,228 +0,0 @@
|
||||
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" ]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
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',
|
||||
@@ -1,11 +0,0 @@
|
||||
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",
|
||||
@@ -1,15 +0,0 @@
|
||||
--- 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',
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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 type="tarxz" sha1sum="79c8fb089e8f344dce40c6495a006a172d4fc4ac">https://commondatastorage.googleapis.com/chromium-browser-official/chromium-69.0.3497.100.tar.xz</Archive>
|
||||
<Archive type="tarxz" sha1sum="80b6f953dc16af024e584ff36d1f1a39e79cc0c1">http://gsdview.appspot.com/chromium-browser-official/chromium-75.0.3770.144.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>at-spi2-atk-devel</Dependency>
|
||||
@@ -24,7 +24,6 @@
|
||||
<Dependency>desktop-file-utils</Dependency>
|
||||
<Dependency>faac-devel</Dependency>
|
||||
<Dependency>flac-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>glibc-devel</Dependency>
|
||||
@@ -59,6 +58,7 @@
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
<Dependency>libsecret-devel</Dependency>
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>libva-devel</Dependency>
|
||||
<Dependency>libvdpau-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libxcb-devel</Dependency>
|
||||
@@ -88,29 +88,19 @@
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>json-c-devel</Dependency>
|
||||
<Dependency>openjpeg2-devel</Dependency>
|
||||
<Dependency>re2-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">chromium-compiler-r4.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>
|
||||
<Patch level="1">chromium-fix-window-flash-for-some-WMs.patch</Patch>
|
||||
<Patch level="0">chromium-skia-harmony.patch</Patch>
|
||||
<!-- <Patch level="1">chromium-system-icu.patch</Patch> -->
|
||||
<Patch level="1">chromium-widevine.patch</Patch>
|
||||
<Patch level="1">libstdc-do-not-assume-unique_ptr-has-ostream-operator.patch</Patch>
|
||||
<Patch level="1">disallow-partial-swaps-for-linux-based-on-gl_version.patch</Patch>
|
||||
<Patch level="1">chromium-non-const-deltas.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
<Package>
|
||||
@@ -141,6 +131,7 @@
|
||||
<Dependency>libXtst</Dependency>
|
||||
<Dependency>libxcb</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>libva</Dependency>
|
||||
<!--Dependency>minizip</Dependency-->
|
||||
<!--Dependency>mit-kerberos</Dependency-->
|
||||
<Dependency>nss</Dependency>
|
||||
@@ -161,6 +152,15 @@
|
||||
<!--Dependency>snappy</Dependency-->
|
||||
<!--Dependency>freetype</Dependency-->
|
||||
<Dependency>harfbuzz</Dependency>
|
||||
<Dependency>re2</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>libopus</Dependency>
|
||||
<Dependency>snappy</Dependency>
|
||||
<Dependency>webp</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>libdrm</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<!--Dependency>glibc</Dependency-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
@@ -180,6 +180,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="14">
|
||||
<Date>2019-07-26</Date>
|
||||
<Version>75.0.3770.144</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2018-09-11</Date>
|
||||
<Version>69.0.3497.100</Version>
|
||||
@@ -279,4 +286,4 @@
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
@@ -11,7 +11,7 @@ from pisi.actionsapi import shelltools
|
||||
|
||||
#WorkDir = "mozilla-release-6b51784853e47e091d213d421a19cb623af718f0"
|
||||
ObjDir = "build"
|
||||
locales = "az bs ca da de el en-US en-GB en-ZA es-AR es-CL es-ES fi fr hr hu it lt nl pl pt-BR pt-PT ro ru sr sv-SE tr uk".split()
|
||||
locales = "az bs ca da de el en-US en-GB es-AR es-CL es-ES fi fr hr hu it lt nl pl pt-BR pt-PT ro ru sr sv-SE tr uk".split()
|
||||
xpidir = "%s/xpi" % get.workDIR()
|
||||
arch = get.ARCH()
|
||||
ver = ".".join(get.srcVERSION().split(".")[:3])
|
||||
@@ -47,7 +47,7 @@ def setup():
|
||||
|
||||
def build():
|
||||
shelltools.cd(ObjDir)
|
||||
shelltools.system("../mach build")
|
||||
shelltools.system("../mach build -j5")
|
||||
|
||||
def install():
|
||||
shelltools.cd(ObjDir)
|
||||
|
||||
@@ -27,7 +27,7 @@ ac_add_options --with-system-libvpx
|
||||
#ac_add_options --enable-system-hunspell
|
||||
ac_add_options --enable-system-ffi
|
||||
#ac_add_options --enable-system-pixman
|
||||
ac_add_options --enable-system-sqlite
|
||||
#ac_add_options --enable-system-sqlite
|
||||
#ac_add_options --enable-gstreamer=1.0
|
||||
#ac_add_options --disable-elf-hack
|
||||
|
||||
|
||||
Executable → Regular
+9
-2
@@ -15,7 +15,7 @@
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Firefox Web Browser</Summary>
|
||||
<Description>It is more secure and faster to browse the web with Firefox web browser. You can personalize your web browser with many specifications that is not enough to explain in two sentences.</Description>
|
||||
<Archive sha1sum="c7a5f3182999e5efed5c714653adc538bb75aa53" type="tarxz">https://ftp.mozilla.org/pub/firefox/releases/67.0/source/firefox-67.0.source.tar.xz</Archive>
|
||||
<Archive sha1sum="67ff91a5eba98495e3f44c2539780f0bc54a0123" type="tarxz">https://ftp.mozilla.org/pub/firefox/releases/68.0.1/source/firefox-68.0.1.source.tar.xz</Archive>
|
||||
<AdditionalFiles>
|
||||
<!--Our main configure script. Configure paramters are stored here.-->
|
||||
<AdditionalFile target=".mozconfig" permission="0644">mozconfig</AdditionalFile>
|
||||
@@ -66,7 +66,7 @@
|
||||
<Dependency>gdb-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">0001-bz-1521249.patch</Patch>
|
||||
<!-- <Patch level="1">0001-bz-1521249.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -549,6 +549,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="28">
|
||||
<Date>2019-07-26</Date>
|
||||
<Version>68.0.1</Version>
|
||||
<Comment>Version Bump and rebuild</Comment>
|
||||
<Name>Idris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="27">
|
||||
<Date>2019-05-24</Date>
|
||||
<Version>67.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user