summaryrefslogtreecommitdiff
path: root/testing/xfa_js_embedder_test.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-09 18:26:09 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-09 18:26:09 +0000
commit3f8ee5e6b4e42fc77b4716b23ccd00840e24e250 (patch)
tree16406801eae8da64bbe44a1b014a3b3945c22bd6 /testing/xfa_js_embedder_test.h
parent026717cb667cf0c7215cf55daf794d69752fc900 (diff)
downloadpdfium-3f8ee5e6b4e42fc77b4716b23ccd00840e24e250.tar.xz
Move CFX_V8 testing from embeddertest to unittest.
Test the lowest layer without firing up the whole library. Requires firing up v8 in the unit test main, though. Move array buffer allocator to cfx_v8 to allow building isolates. Change-Id: I9a56d503a48e0e555d3310f2997fa12137695860 Reviewed-on: https://pdfium-review.googlesource.com/26130 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/xfa_js_embedder_test.h')
-rw-r--r--testing/xfa_js_embedder_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/xfa_js_embedder_test.h b/testing/xfa_js_embedder_test.h
index 5f4549601c..44840b31eb 100644
--- a/testing/xfa_js_embedder_test.h
+++ b/testing/xfa_js_embedder_test.h
@@ -38,7 +38,7 @@ class XFAJSEmbedderTest : public EmbedderTest {
CFXJSE_Value* GetValue() const { return value_.get(); }
private:
- std::unique_ptr<FXJS_ArrayBufferAllocator> array_buffer_allocator_;
+ std::unique_ptr<CFX_V8ArrayBufferAllocator> array_buffer_allocator_;
std::unique_ptr<CFXJSE_Value> value_;
v8::Isolate* isolate_ = nullptr;
CFXJSE_Engine* script_context_ = nullptr;