File chromium-memcpy.patch of Package chromium-ffmpeg-extra (Revision 93de8f5e85618d0f70a23b7fb2c40df0)
Currently displaying revision 93de8f5e85618d0f70a23b7fb2c40df0 , Show latest
36
1
From 4942f56ceb6d60d6f54ebca8e6eba8ba01c278e8 Mon Sep 17 00:00:00 2001
2
From: Tomas Popela <tomas.popela@gmail.com>
3
Date: Thu, 7 Dec 2017 22:33:34 +0000
4
Subject: [PATCH] memcpy used without including string.h
5
6
Compiling Chromium with Clang 4.0.1 and using libstdc++ will fail on using
7
memcpy without including string.h.
8
9
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
10
Change-Id: Idced1d5de3baf6b520d4a2d61774120642ead1a8
11
Reviewed-on: https://chromium-review.googlesource.com/813737
12
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
13
Reviewed-by: vmpstr <vmpstr@chromium.org>
14
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
15
Cr-Commit-Position: refs/heads/master@{#522579}
16
---
17
cc/paint/raw_memory_transfer_cache_entry.cc | 2 ++
18
1 file changed, 2 insertions(+)
19
20
diff --git a/cc/paint/raw_memory_transfer_cache_entry.cc b/cc/paint/raw_memory_transfer_cache_entry.cc
21
index 9e4660c685ee..95ad50b1a338 100644
22
--- a/cc/paint/raw_memory_transfer_cache_entry.cc
23
+++ b/cc/paint/raw_memory_transfer_cache_entry.cc
24
25
26
#include "cc/paint/raw_memory_transfer_cache_entry.h"
27
28
+#include <string.h>
29
+
30
namespace cc {
31
32
ClientRawMemoryTransferCacheEntry::ClientRawMemoryTransferCacheEntry(
33
--
34
2.15.1
35
36