Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: xfa/fgas/crt/fgas_memory.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fgas/crt/fgas_memory.h ('k') | xfa/fgas/crt/fgas_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "xfa/src/fgas/crt/fgas_memory.h" 7 #include "xfa/fgas/crt/fgas_memory.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 namespace { 11 namespace {
12 12
13 class CFX_DefStore : public IFX_MEMAllocator, public CFX_Target { 13 class CFX_DefStore : public IFX_MEMAllocator, public CFX_Target {
14 public: 14 public:
15 CFX_DefStore() {} 15 CFX_DefStore() {}
16 ~CFX_DefStore() {} 16 ~CFX_DefStore() {}
17 virtual void Release() { delete this; } 17 virtual void Release() { delete this; }
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 } 437 }
438 FX_Free(pChunk); 438 FX_Free(pChunk);
439 } 439 }
440 } 440 }
441 size_t CFX_DynamicStore::SetDefChunkSize(size_t size) { 441 size_t CFX_DynamicStore::SetDefChunkSize(size_t size) {
442 FXSYS_assert(size != 0); 442 FXSYS_assert(size != 0);
443 size_t v = m_iDefChunkSize; 443 size_t v = m_iDefChunkSize;
444 m_iDefChunkSize = size; 444 m_iDefChunkSize = size;
445 return v; 445 return v;
446 } 446 }
OLDNEW
« no previous file with comments | « xfa/fgas/crt/fgas_memory.h ('k') | xfa/fgas/crt/fgas_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698