Update pdfium to Chrome 114.0.5735.130 pdfium
pdfium last commit id: 9505810f6
Bug: 279055389
Test: Build the code and flash the device and check Print functionality
Test: atest FrameworksCoreTests
Test: atest CtsPrintTestCases
Test: atest CtsPdfTestCases
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3e2fb7d98efb4ba7b51fd84e9a0ae04f8c0f7805)
Merged-In: I2efabeec0d0fa3925bcbeebf36031cee6f7f9fc4
Change-Id: I2efabeec0d0fa3925bcbeebf36031cee6f7f9fc4
diff --git a/xfa/fxfa/parser/cxfa_window.cpp b/xfa/fxfa/parser/cxfa_window.cpp
index c1dd78d..ced61d7 100644
--- a/xfa/fxfa/parser/cxfa_window.cpp
+++ b/xfa/fxfa/parser/cxfa_window.cpp
@@ -1,4 +1,4 @@
-// Copyright 2017 PDFium Authors. All rights reserved.
+// Copyright 2017 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,7 +7,7 @@
#include "xfa/fxfa/parser/cxfa_window.h"
#include "fxjs/xfa/cjx_node.h"
-#include "third_party/base/ptr_util.h"
+#include "xfa/fxfa/parser/cxfa_document.h"
namespace {
@@ -21,11 +21,13 @@
CXFA_Window::CXFA_Window(CXFA_Document* doc, XFA_PacketType packet)
: CXFA_Node(doc,
packet,
- XFA_XDPPACKET_Config,
+ XFA_XDPPACKET::kConfig,
XFA_ObjectType::NodeV,
XFA_Element::Window,
{},
kWindowAttributeData,
- pdfium::MakeUnique<CJX_Node>(this)) {}
+ cppgc::MakeGarbageCollected<CJX_Node>(
+ doc->GetHeap()->GetAllocationHandle(),
+ this)) {}
CXFA_Window::~CXFA_Window() = default;