Chromium Code Reviews| Index: third_party/WebKit/Source/core/page/PrintContext.cpp |
| diff --git a/third_party/WebKit/Source/core/page/PrintContext.cpp b/third_party/WebKit/Source/core/page/PrintContext.cpp |
| index e88fd38599e162a4fd98c01cee87e5ed16616fcb..6999047c728ed8b1f90db2c9f3942d00a4fcf2e8 100644 |
| --- a/third_party/WebKit/Source/core/page/PrintContext.cpp |
| +++ b/third_party/WebKit/Source/core/page/PrintContext.cpp |
| @@ -45,7 +45,7 @@ PrintContext::PrintContext(LocalFrame* frame) |
| : m_frame(frame), m_isPrinting(false), m_linkedDestinationsValid(false) {} |
| PrintContext::~PrintContext() { |
| - if (m_isPrinting) |
| + if (m_isPrinting && !RuntimeEnabledFeatures::printBrowserEnabled()) |
|
pdr.
2017/04/10 00:24:34
Ditto here. I think we should remove the changes t
|
| end(); |
| } |