| 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;
|
|
|