Fix API changes
This commit is contained in:
parent
32f0ae5b50
commit
b37c73436b
13 changed files with 33 additions and 37 deletions
|
@ -425,8 +425,10 @@ class PrepareFrameAndViewForPrint : public blink::WebViewClient,
|
|||
virtual void didStopLoading();
|
||||
|
||||
// blink::WebFrameClient override:
|
||||
virtual blink::WebFrame* createChildFrame(blink::WebLocalFrame* parent,
|
||||
const blink::WebString& name);
|
||||
virtual blink::WebFrame* createChildFrame(
|
||||
blink::WebLocalFrame* parent,
|
||||
const blink::WebString& name,
|
||||
blink::WebSandboxFlags sandboxFlags);
|
||||
virtual void frameDetached(blink::WebFrame* frame);
|
||||
|
||||
private:
|
||||
|
@ -571,7 +573,8 @@ void PrepareFrameAndViewForPrint::didStopLoading() {
|
|||
|
||||
blink::WebFrame* PrepareFrameAndViewForPrint::createChildFrame(
|
||||
blink::WebLocalFrame* parent,
|
||||
const blink::WebString& name) {
|
||||
const blink::WebString& name,
|
||||
blink::WebSandboxFlags sandboxFlags) {
|
||||
blink::WebFrame* frame = blink::WebLocalFrame::create(this);
|
||||
parent->appendChild(frame);
|
||||
return frame;
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "printing/page_size_margins.h"
|
||||
#include "printing/pdf_metafile_skia.h"
|
||||
#include "skia/ext/platform_device.h"
|
||||
#include "skia/ext/vector_canvas.h"
|
||||
#include "third_party/WebKit/public/web/WebLocalFrame.h"
|
||||
|
||||
#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "printing/metafile_skia_wrapper.h"
|
||||
#include "printing/page_size_margins.h"
|
||||
#include "skia/ext/platform_device.h"
|
||||
#include "skia/ext/vector_canvas.h"
|
||||
#include "third_party/WebKit/public/platform/WebCanvas.h"
|
||||
#include "third_party/WebKit/public/web/WebLocalFrame.h"
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "printing/pdf_metafile_skia.h"
|
||||
#include "printing/units.h"
|
||||
#include "skia/ext/platform_device.h"
|
||||
#include "skia/ext/vector_canvas.h"
|
||||
#include "third_party/WebKit/public/web/WebLocalFrame.h"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue