Index: fpdfsdk/src/fpdfoom.cpp |
diff --git a/fpdfsdk/src/fpdfoom.cpp b/fpdfsdk/src/fpdfoom.cpp |
deleted file mode 100644 |
index 2b202ba2ebcd7ef5344ec39ae1f6fbf7a0395279..0000000000000000000000000000000000000000 |
--- a/fpdfsdk/src/fpdfoom.cpp |
+++ /dev/null |
@@ -1,27 +0,0 @@ |
-// Copyright 2014 PDFium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
- |
-#include "../include/fsdk_define.h" |
-#include "../include/fpdfoom.h" |
- |
-void OOM_Handler(void* param) |
-{ |
- if (!param) return; |
- ((OOM_INFO*)param)->FSDK_OOM_Handler((OOM_INFO*)param); |
-} |
- |
- |
-DLLEXPORT FX_BOOL STDCALL FSDK_SetOOMHandler(OOM_INFO* oomInfo) |
-{ |
-#ifndef _FXSDK_OPENSOURCE_ |
- if (!oomInfo || oomInfo->version!=1) |
- return FALSE; |
- FXMEM_SetOOMHandler(FXMEM_GetDefaultMgr(),OOM_Handler,oomInfo); |
jam
2014/12/12 19:36:03
this method isn't defined anymore.
Tom: this was
|
- return TRUE; |
-#else |
- return TRUE; |
-#endif |
-} |