22 lines
994 B
Diff
22 lines
994 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Jeremy Apthorp <nornagon@nornagon.net>
|
|
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 2ad8be8384f0d736ccac504114aba63babe8e67b..28639c00d1700f1fa307090d494904701805a2d9 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"
|