|
Combine PDF plugin into the Chromium binary.
On Windows, this moves it to chrome_child.dll. Overall binary sizes is 4.5 MB smaller (chrome_child.dll gets 3.6 MB larger while we drop the 8.1 MB pdf.dll). On Mac, the binary is 6.6 MB smaller. On Linux, it's 7MB smaller. This is from official release builds, after stripping on Linux.
The size savings are because we don't ship duplicate versions of V8, and also the PDF plugin uses some of base and net.
This depends on OOP PDF, since otherwise the V8 isolates for the plugin and Blink interact badly. That got turned on a few weeks ago.
BUG= 453844
Committed: https://crrev.com/dc0e4390c0364515fa360c5292a4389784580a48
Cr-Commit-Position: refs/heads/master@{#314575}
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+266 lines, -822 lines) |
Patch |
 |
M |
build/all.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_main_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/open_with_browser.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/component_loader.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_dialog_controller.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_pdf_generated_browsertest.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+20 lines, -83 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/pdf/pdf_extension_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/child/pdf_child_init.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
1 chunk |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome.isolate
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_dll.gypi
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_dll_bundle.gypi
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_exe.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_content_client.h
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_content_client.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+33 lines, -39 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_content_client_constants.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_paths.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_paths.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/utility/chrome_content_utility_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/utility/printing_handler.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/utility/printing_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
8 chunks |
+13 lines, -188 lines |
0 comments
|
Download
|
 |
M |
pdf/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
4 chunks |
+4 lines, -26 lines |
0 comments
|
Download
|
 |
D |
pdf/Info.plist
|
View
|
1
2
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
M |
pdf/pdf.h
|
View
|
|
2 chunks |
+90 lines, -1 line |
0 comments
|
Download
|
 |
M |
pdf/pdf.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+30 lines, -129 lines |
0 comments
|
Download
|
 |
D |
pdf/pdf.def
|
View
|
1
2
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
pdf/pdf.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
4 chunks |
+4 lines, -123 lines |
1 comment
|
Download
|
 |
D |
pdf/pdf.rc
|
View
|
1
2
|
1 chunk |
+0 lines, -104 lines |
0 comments
|
Download
|
Total messages: 22 (9 generated)
|