CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: updated to 3.36.1
[ports/opt-arm.git] / chromium / chromium-cups-r0.patch
CommitLineData
bd70e9dd
VM
1From 3cf91d8d674a496d533aa106723a632b68ab26ba Mon Sep 17 00:00:00 2001
2From: Tom Anderson <thomasanderson@chromium.org>
3Date: Tue, 12 Dec 2017 23:31:56 +0000
4Subject: [PATCH] Fix use_cups=false build
5
6BUG=793801
7R=thestig@chromium.org
8
9Change-Id: I60ee6ec48d2686d0b42ca25311a9b76009ce9768
10Reviewed-on: https://chromium-review.googlesource.com/823245
11Reviewed-by: Lei Zhang <thestig@chromium.org>
12Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
13Cr-Commit-Position: refs/heads/master@{#523602}
14---
15 chrome/service/cloud_print/print_system.cc | 9 ++++++++-
16 1 file changed, 8 insertions(+), 1 deletion(-)
17
18diff --git a/chrome/service/cloud_print/print_system.cc b/chrome/service/cloud_print/print_system.cc
19index ac94c804f9..4ceba96919 100644
20--- a/chrome/service/cloud_print/print_system.cc
21+++ b/chrome/service/cloud_print/print_system.cc
22@@ -5,6 +5,7 @@
23 #include "chrome/service/cloud_print/print_system.h"
24
25 #include "base/guid.h"
26+#include "build/build_config.h"
27
28 namespace cloud_print {
29
30@@ -35,5 +36,11 @@ std::string PrintSystem::GenerateProxyId() {
31 return base::GenerateGUID();
32 }
33
34-} // namespace cloud_print
35+#if defined(OS_LINUX) && !defined(USE_CUPS)
36+scoped_refptr<PrintSystem> PrintSystem::CreateInstance(
37+ const base::DictionaryValue*) {
38+ return nullptr;
39+}
40+#endif
41
42+} // namespace cloud_print
43--
442.15.1
45