diff options
author | Lei Zhang <thestig@chromium.org> | 2015-10-02 10:28:27 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-10-02 10:28:27 -0700 |
commit | db12c167d3613c9a73b28cac75e37779dbc680e0 (patch) | |
tree | dbf281ba95a08a30fe21703ee6af3a309787c74f /core/src/fxge/win32/fx_win32_dwrite.cpp | |
parent | 421b4612439ee3a81d675b542038c6c3ff25e977 (diff) | |
download | pdfium-db12c167d3613c9a73b28cac75e37779dbc680e0.tar.xz |
XFA: Remove tests for new in fxge and fpdfsdk.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1378303002 .
Diffstat (limited to 'core/src/fxge/win32/fx_win32_dwrite.cpp')
-rw-r--r-- | core/src/fxge/win32/fx_win32_dwrite.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/src/fxge/win32/fx_win32_dwrite.cpp b/core/src/fxge/win32/fx_win32_dwrite.cpp index f4f6d91fbc..845eb14576 100644 --- a/core/src/fxge/win32/fx_win32_dwrite.cpp +++ b/core/src/fxge/win32/fx_win32_dwrite.cpp @@ -337,9 +337,6 @@ HRESULT STDMETHODCALLTYPE CDwFontFileLoader::CreateStreamFromKey( *fontFileStream = NULL; CDwFontFileStream* stream = new CDwFontFileStream(fontFileReferenceKey, fontFileReferenceKeySize); - if (stream == NULL) { - return E_OUTOFMEMORY; - } if (!stream->IsInitialized()) { delete stream; return E_FAIL; |