Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: third_party/WebKit/Source/core/frame/FrameSerializer.cpp

Issue 2743023002: Migrate WTF::Deque::append() to ::push_back() (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fd8184d5ded673bbd6ad42192fb5644ea5e2dcbe..be8c8776844bc92c7cb37c13da0c50624cff78b3 100644
--- a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
@@ -296,7 +296,7 @@ void FrameSerializer::serializeFrame(const LocalFrame& frame) {
CString frameHTML =
document.encoding().encode(text, WTF::EntitiesForUnencodables);
- m_resources->append(SerializedResource(
+ m_resources->push_back(SerializedResource(
url, document.suggestedMIMEType(),
SharedBuffer::create(frameHTML.data(), frameHTML.length())));
}
@@ -388,7 +388,7 @@ void FrameSerializer::serializeCSSStyleSheet(CSSStyleSheet& styleSheet,
String textString = cssText.toString();
CString text =
textEncoding.encode(textString, WTF::CSSEncodedEntitiesForUnencodables);
- m_resources->append(
+ m_resources->push_back(
SerializedResource(url, String("text/css"),
SharedBuffer::create(text.data(), text.length())));
m_resourceURLs.insert(url);
@@ -473,7 +473,7 @@ void FrameSerializer::addToResources(
return;
}
- m_resources->append(SerializedResource(url, mimeType, std::move(data)));
+ m_resources->push_back(SerializedResource(url, mimeType, std::move(data)));
m_resourceURLs.insert(url);
}
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReader.cpp ('k') | third_party/WebKit/Source/core/html/forms/FormController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698