12345678910111213141516171819202122 |
- From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
- From: Jeremy Apthorp <[email protected]>
- Date: Mon, 10 Feb 2020 10:37:48 -0800
- Subject: use electron resources in pdf_util
- Without this, the ID for IDR_PDF_MANIFEST will be wrong on linux
- and cause a DCHECK(), since the resource will be loaded as an empty
- string.
- diff --git a/chrome/browser/pdf/pdf_extension_util.cc b/chrome/browser/pdf/pdf_extension_util.cc
- index 9fd9791fd923d6c5e741cb7dc064ababf9a7995a..0a5534f2f09224196971076794daa3c805c91606 100644
- --- a/chrome/browser/pdf/pdf_extension_util.cc
- +++ b/chrome/browser/pdf/pdf_extension_util.cc
- @@ -8,7 +8,7 @@
- #include "base/values.h"
- #include "chrome/browser/browser_process.h"
- #include "chrome/common/chrome_content_client.h"
- -#include "chrome/grit/browser_resources.h"
- +#include "electron/grit/electron_resources.h"
- #include "components/strings/grit/components_strings.h"
- #include "components/zoom/page_zoom_constants.h"
- #include "pdf/pdf_features.h"
|