| Index: third_party/WebKit/Source/core/frame/FrameSerializer.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
|
| index 7225b31f39e2dbf55f8a2b4a68d0095ac5e2964c..0ec86460c13e19eb22868c551c5f40c6a48eb447 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
|
| @@ -250,7 +250,7 @@ void SerializerMarkupAccumulator::appendRewrittenAttribute(
|
| const String& attributeValue) {
|
| if (m_elementsWithRewrittenLinks.contains(&element))
|
| return;
|
| - m_elementsWithRewrittenLinks.add(&element);
|
| + m_elementsWithRewrittenLinks.insert(&element);
|
|
|
| // Append the rewritten attribute.
|
| // TODO(tiger): Refactor MarkupAccumulator so it is easier to append an
|
| @@ -395,7 +395,7 @@ void FrameSerializer::serializeCSSStyleSheet(CSSStyleSheet& styleSheet,
|
| m_resources->append(
|
| SerializedResource(url, String("text/css"),
|
| SharedBuffer::create(text.data(), text.length())));
|
| - m_resourceURLs.add(url);
|
| + m_resourceURLs.insert(url);
|
| }
|
|
|
| // Sub resources need to be serialized even if the CSS definition doesn't
|
| @@ -478,7 +478,7 @@ void FrameSerializer::addToResources(
|
| }
|
|
|
| m_resources->append(SerializedResource(url, mimeType, std::move(data)));
|
| - m_resourceURLs.add(url);
|
| + m_resourceURLs.insert(url);
|
| }
|
|
|
| void FrameSerializer::addImageToResources(ImageResourceContent* image,
|
|
|