| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 89295a10375cfe0907ce961b693ba4b039be9f65..8eba8391f57adc0a62d6a2c4e87eecaa91ddaa46 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -335,7 +335,7 @@ WebPluginContainerImpl* WebLocalFrameImpl::pluginContainerFromNode(LocalFrame* f
|
|
|
| // Simple class to override some of PrintContext behavior. Some of the methods
|
| // made virtual so that they can be overridden by ChromePluginPrintContext.
|
| -class ChromePrintContext : public PrintContext {
|
| +class ChromePrintContext : public PrintContext, public DisplayItemClient {
|
| WTF_MAKE_NONCOPYABLE(ChromePrintContext);
|
| public:
|
| ChromePrintContext(LocalFrame* frame)
|
| @@ -438,9 +438,7 @@ public:
|
| outputLinkedDestinations(canvas, allPagesRect);
|
| }
|
|
|
| - DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
|
| -
|
| - String debugName() const { return "ChromePrintContext"; }
|
| + String debugName() const final { return "ChromePrintContext"; }
|
|
|
| protected:
|
| // Spools the printed page, a subrect of frame(). Skip the scale step.
|
|
|