Group :: Rede/WWW
RPM: chromium-gost
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: 0014-IWYU-add-cstring-for-std-strlen-in-fenced_frame_util.patch
Download
Download
From ac3cf58608f478f377b126860e62ce65ccaf4976 Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
Date: Thu, 26 May 2022 02:21:20 +0300
Subject: [PATCH] IWYU: add cstring for std::strlen in fenced_frame_utils
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bug: 957519
Change-Id: Ie886531bc4115f280ca109819c6515ae20ea7115
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3609973
Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: José Dapena Paz <jdapena@igalia.com>
Cr-Commit-Position: refs/heads/main@{#998791}
---
third_party/blink/common/fenced_frame/fenced_frame_utils.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/third_party/blink/common/fenced_frame/fenced_frame_utils.cc b/third_party/blink/common/fenced_frame/fenced_frame_utils.cc
index 9e2d3ad5d88..68f48237e1e 100644
--- a/third_party/blink/common/fenced_frame/fenced_frame_utils.cc
+++ b/third_party/blink/common/fenced_frame/fenced_frame_utils.cc
@@ -1,16 +1,18 @@
// Copyright 2022 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 "third_party/blink/public/common/fenced_frame/fenced_frame_utils.h"
+#include <cstring>
+
#include "base/guid.h"
#include "base/strings/string_util.h"
namespace blink {
bool IsValidFencedFrameURL(GURL url) {
return url.SchemeIs(url::kHttpsScheme) || url.IsAboutBlank();
}
const char kURNUUIDprefix[] = "urn:uuid:";
--
2.25.4