Skip to content

Commit

Permalink
memcpy used without including string.h
Browse files Browse the repository at this point in the history
Compiling Chromium with Clang 4.0.1 and using libstdc++ will fail on using
memcpy without including string.h.

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Change-Id: Idced1d5de3baf6b520d4a2d61774120642ead1a8
Reviewed-on: https://chromium-review.googlesource.com/813737
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: vmpstr <vmpstr@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522579}
  • Loading branch information
tpopela authored and Commit Bot committed Dec 7, 2017
1 parent 61e62a7 commit 4942f56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cc/paint/raw_memory_transfer_cache_entry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "cc/paint/raw_memory_transfer_cache_entry.h"

#include <string.h>

namespace cc {

ClientRawMemoryTransferCacheEntry::ClientRawMemoryTransferCacheEntry(
Expand Down

0 comments on commit 4942f56

Please sign in to comment.