chromium-browser-stable-sla.../FEDORA-Fix-memcpy.patch

34 lines
1.1 KiB
Diff

From bf53199001a3aa36efeb457af483accd4643e4c1 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Sun, 4 Feb 2018 00:12:27 +0300
Subject: [PATCH 21/24] FEDORA: Fix memcpy
---
cc/paint/raw_memory_transfer_cache_entry.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cc/paint/raw_memory_transfer_cache_entry.cc b/cc/paint/raw_memory_transfer_cache_entry.cc
index 2c41fabd9d9..3409c2a5765 100644
--- a/cc/paint/raw_memory_transfer_cache_entry.cc
+++ b/cc/paint/raw_memory_transfer_cache_entry.cc
@@ -1,16 +1,16 @@
// Copyright (c) 2017 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.
#include "cc/paint/raw_memory_transfer_cache_entry.h"
-
+#include <memory.h>
#include <string.h>
namespace cc {
ClientRawMemoryTransferCacheEntry::ClientRawMemoryTransferCacheEntry(
std::vector<uint8_t> data)
: id_(s_next_id_.GetNext()), data_(std::move(data)) {}
ClientRawMemoryTransferCacheEntry::~ClientRawMemoryTransferCacheEntry() =
default;
--
2.17.1