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

Unified Diff: third_party/WebKit/Source/web/tests/PageSerializerTest.cpp

Issue 1417323006: OOPIFs: Deduplicating MHTML parts across frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-serialization-per-frame
Patch Set: Rebasing... Created 5 years 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/web/tests/PageSerializerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/PageSerializerTest.cpp b/third_party/WebKit/Source/web/tests/PageSerializerTest.cpp
index a52501c2881c199ac404a79bd118fde38be00a2e..f333ef5a89b1046d3cb83b8bd3163695b5c2fdbe 100644
--- a/third_party/WebKit/Source/web/tests/PageSerializerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/PageSerializerTest.cpp
@@ -119,7 +119,7 @@ protected:
void serialize(const char* url)
{
FrameTestHelpers::loadFrame(m_helper.webView()->mainFrame(), KURL(m_baseUrl, url).string().utf8().data());
- PageSerializer serializer(m_resources, this);
+ PageSerializer serializer(m_resources, *this);
Frame* frame = m_helper.webViewImpl()->mainFrameImpl()->frame();
for (; frame; frame = frame->tree().traverseNext()) {
// This is safe, because tests do not do cross-site navigation
@@ -168,12 +168,6 @@ private:
}
// PageSerializer::Delegate implementation.
- bool shouldIgnoreAttribute(const Attribute&) override
- {
- return false;
- }
-
- // PageSerializer::Delegate implementation.
bool rewriteLink(const Element& element, String& rewrittenLink)
{
String completeURL;
« no previous file with comments | « third_party/WebKit/Source/web/WebPageSerializer.cpp ('k') | third_party/WebKit/public/web/WebPageSerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698