Package: chromium-browser / 37.0.2062.120-1~deb7u1

nspr.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Include system copy of prtime.h

--- a/base/base.gypi
+++ b/base/base.gypi
@@ -18,8 +18,6 @@
           'third_party/dmg_fp/dtoa_wrapper.cc',
           'third_party/icu/icu_utf.cc',
           'third_party/icu/icu_utf.h',
-          'third_party/nspr/prtime.cc',
-          'third_party/nspr/prtime.h',
           'third_party/superfasthash/superfasthash.c',
           'third_party/xdg_mime/xdgmime.h',
           'allocator/allocator_extension.cc',
--- a/base/time/pr_time_unittest.cc
+++ b/base/time/pr_time_unittest.cc
@@ -6,7 +6,7 @@
 #include <time.h>
 
 #include "base/compiler_specific.h"
-#include "base/third_party/nspr/prtime.h"
+#include <nspr/prtime.h>
 #include "base/time/time.h"
 #include "testing/gtest/include/gtest/gtest.h"
 
--- a/base/time/time.cc
+++ b/base/time/time.cc
@@ -10,7 +10,8 @@
 #include "base/float_util.h"
 #include "base/lazy_instance.h"
 #include "base/logging.h"
-#include "base/third_party/nspr/prtime.h"
+
+#include <nspr/prtime.h>
 
 namespace base {