845f11032a
[ci skip] Closes: #2538 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
15 lines
637 B
Diff
15 lines
637 B
Diff
--- qtwebengine/src/3rdparty/chromium/ui/base/resource/data_pack.cc.orig 2018-09-11 14:16:53.104897379 +0200
|
|
+++ qtwebengine/src/3rdparty/chromium/ui/base/resource/data_pack.cc 2018-09-11 14:17:12.009896253 +0200
|
|
@@ -383,12 +383,6 @@
|
|
|
|
bool DataPack::GetStringPiece(uint16_t resource_id,
|
|
base::StringPiece* data) const {
|
|
- // It won't be hard to make this endian-agnostic, but it's not worth
|
|
- // bothering to do right now.
|
|
-#if !defined(ARCH_CPU_LITTLE_ENDIAN)
|
|
-#error "datapack assumes little endian"
|
|
-#endif
|
|
-
|
|
const Entry* target = LookupEntryById(resource_id);
|
|
if (!target)
|
|
return false;
|