From 5b3d0208723f21c50b9922bdc500c9d78c359a25 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 6 Oct 2015 07:50:47 -0700 Subject: Make the vast majority of JS headers private to src/javascript. The fpdfsdk/include/javascript/IJavascript.h is the sole API. This required moving a creaton method to it from JS_Runtime. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1389783002 . --- fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fpdfsdk/src/jsapi') diff --git a/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp b/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp index 1c660397d1..394933a9ff 100644 --- a/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp +++ b/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp @@ -2,10 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "../../../third_party/base/nonstd_unique_ptr.h" #include "../../../core/include/fpdfapi/fpdf_parser.h" #include "../../../testing/embedder_test.h" -#include "../../include/fsdk_mgr.h" -#include "../../include/javascript/JS_Runtime.h" #include "../../include/jsapi/fxjs_v8.h" #include "testing/gtest/include/gtest/gtest.h" @@ -49,7 +48,7 @@ class FXJSV8Embeddertest : public EmbedderTest { private: v8::Isolate* m_pIsolate; v8::Global m_pPersistentContext; - nonstd::unique_ptr m_pAllocator; + nonstd::unique_ptr m_pAllocator; }; TEST_F(FXJSV8Embeddertest, Getters) { -- cgit v1.2.3