From cd5bca472261cebc60b37d7bbc8b81b4091a6cd6 Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 30 Sep 2016 10:45:06 -0700 Subject: Fix build of pdf_hint_table_fuzzer. Restore CPDF_Dictionary default constructor. Use it in places where reasonable in the code. TBR=dsinclair@chromium.org TBR=thestig@chromium.org Review-Url: https://codereview.chromium.org/2383843002 --- core/fxge/dib/fx_dib_engine_unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxge/dib') diff --git a/core/fxge/dib/fx_dib_engine_unittest.cpp b/core/fxge/dib/fx_dib_engine_unittest.cpp index 105c342a0f..b7c79c390a 100644 --- a/core/fxge/dib/fx_dib_engine_unittest.cpp +++ b/core/fxge/dib/fx_dib_engine_unittest.cpp @@ -16,7 +16,7 @@ TEST(CStretchEngine, OverflowInCtor) { FX_RECT clip_rect; std::unique_ptr> dict_obj( - new CPDF_Dictionary(CFX_WeakPtr())); + new CPDF_Dictionary()); dict_obj->SetFor("Width", new CPDF_Number(71000)); dict_obj->SetFor("Height", new CPDF_Number(12500)); std::unique_ptr> stream( -- cgit v1.2.3