summaryrefslogtreecommitdiff
path: root/testing/js_embedder_test.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-12-24 19:00:05 -0800
committerLei Zhang <thestig@chromium.org>2015-12-24 19:00:05 -0800
commitd20dfba2ae10e8aeb328328f09da79ff904110a8 (patch)
tree560bc512ddec373595a9f719996e1d13338f72da /testing/js_embedder_test.h
parentbab9a98b71f351cf9f4eb39138bca55e3be4ef15 (diff)
downloadpdfium-d20dfba2ae10e8aeb328328f09da79ff904110a8.tar.xz
Switch from nonstd::unique_ptr to std::unique_ptr.
R=thakis@chromium.org Review URL: https://codereview.chromium.org/1547833002 .
Diffstat (limited to 'testing/js_embedder_test.h')
-rw-r--r--testing/js_embedder_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/js_embedder_test.h b/testing/js_embedder_test.h
index 167aea7ed5..319bd40728 100644
--- a/testing/js_embedder_test.h
+++ b/testing/js_embedder_test.h
@@ -5,11 +5,11 @@
#ifndef TESTING_JS_EMBEDDER_TEST_H_
#define TESTING_JS_EMBEDDER_TEST_H_
+#include <memory>
#include <vector>
#include "fpdfsdk/include/jsapi/fxjs_v8.h"
#include "testing/embedder_test.h"
-#include "third_party/base/nonstd_unique_ptr.h"
class JSEmbedderTest : public EmbedderTest {
public:
@@ -23,7 +23,7 @@ class JSEmbedderTest : public EmbedderTest {
v8::Local<v8::Context> GetV8Context();
private:
- nonstd::unique_ptr<FXJS_ArrayBufferAllocator> m_pArrayBufferAllocator;
+ std::unique_ptr<FXJS_ArrayBufferAllocator> m_pArrayBufferAllocator;
v8::Isolate* m_pIsolate;
v8::Global<v8::Context> m_pPersistentContext;
std::vector<v8::Global<v8::Object>*> m_StaticObjects;