Skip to content

Commit beefeb9

Browse files
committed
ship pdf.dll and fix linux build
1 parent 8ec6fd0 commit beefeb9

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/browser/printing/print_view_manager.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ namespace {
3131
// No locking, only access on the UI thread.
3232
typedef std::map<content::RenderProcessHost*, base::Closure>
3333
ScriptedPrintPreviewClosureMap;
34+
#if 0
3435
static base::LazyInstance<ScriptedPrintPreviewClosureMap>
3536
g_scripted_print_preview_closure_map = LAZY_INSTANCE_INITIALIZER;
37+
#endif
3638

3739
} // namespace
3840

src/renderer/printing/print_web_view_helper.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ bool PrintingNodeOrPdfFrame(const blink::WebFrame* frame,
291291
return plugin && plugin->supportsPaginatedPrint();
292292
}
293293

294+
#if 0
294295
bool PrintingFrameHasPageSizeStyle(blink::WebFrame* frame,
295296
int total_page_count) {
296297
if (!frame)
@@ -304,6 +305,7 @@ bool PrintingFrameHasPageSizeStyle(blink::WebFrame* frame,
304305
}
305306
return frame_has_custom_page_size_style;
306307
}
308+
#endif
307309

308310
MarginType GetMarginsForPdf(blink::WebFrame* frame,
309311
const blink::WebNode& node) {

tools/package_binaries.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def generate_target_nw(platform_name, arch, version):
130130
'icudtl.dat',
131131
'libEGL.dll',
132132
'libGLESv2.dll',
133+
'pdf.dll',
133134
'nw.exe',
134135
'nw.pak',
135136
'locales',

0 commit comments

Comments
 (0)