modules/woff2/redefine-unique_ptr.patch
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Tue, 23 Feb 2016 00:46:33 -0800
changeset 325577 495ccf9c91cd59d7d0b5844b1ad9c529b1323357
parent 319390 b97b9546f96a0ab580e1f9320b2b9bd9048b63bb
child 322735 33087bab1346dbbfaff79478b7c90e5a978e6ff2
permissions -rw-r--r--
Bumping manifests a=b2g-bump

diff --git a/modules/woff2/src/woff2_dec.cc b/modules/woff2/src/woff2_dec.cc
--- a/modules/woff2/src/woff2_dec.cc
+++ b/modules/woff2/src/woff2_dec.cc
@@ -20,16 +20,24 @@
 #include <algorithm>
 #include <complex>
 #include <cstring>
 #include <limits>
 #include <string>
 #include <vector>
 #include <map>
 #include <memory>
+#include "mozilla/UniquePtr.h"
+namespace std
+{
+  using mozilla::DefaultDelete;
+  using mozilla::UniquePtr;
+  #define default_delete DefaultDelete
+  #define unique_ptr UniquePtr
+}
 
 #include "./buffer.h"
 #include "./decode.h"
 #include "./port.h"
 #include "./round.h"
 #include "./store_bytes.h"
 #include "./table_tags.h"
 #include "./variable_length.h"