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

Unified Diff: core/fxcodec/codec/fx_codec.cpp

Issue 1800523005: Move core/src/ up to core/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxcodec/codec/codec_int.h ('k') | core/fxcodec/codec/fx_codec_bmp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/fx_codec.cpp
diff --git a/core/src/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp
similarity index 98%
rename from core/src/fxcodec/codec/fx_codec.cpp
rename to core/fxcodec/codec/fx_codec.cpp
index 17e665d608f98784d48346fca59514b4cbe96d4c..f1298f9fb3ed432129050f1172503c97dc37041d 100644
--- a/core/src/fxcodec/codec/fx_codec.cpp
+++ b/core/fxcodec/codec/fx_codec.cpp
@@ -9,9 +9,9 @@
#include <cmath>
#include <utility>
+#include "core/fxcodec/codec/codec_int.h"
#include "core/include/fxcrt/fx_ext.h"
#include "core/include/fxcrt/fx_safe_types.h"
-#include "core/src/fxcodec/codec/codec_int.h"
#include "third_party/base/logging.h"
CCodec_ModuleMgr::CCodec_ModuleMgr()
@@ -35,8 +35,7 @@ CCodec_ScanlineDecoder::ImageDataCache::ImageDataCache(int width,
FX_DWORD pitch)
: m_Width(width), m_Height(height), m_Pitch(pitch), m_nCachedLines(0) {}
-CCodec_ScanlineDecoder::ImageDataCache::~ImageDataCache() {
-}
+CCodec_ScanlineDecoder::ImageDataCache::~ImageDataCache() {}
bool CCodec_ScanlineDecoder::ImageDataCache::AllocateCache() {
if (m_Pitch == 0 || m_Height < 0)
@@ -72,11 +71,9 @@ const uint8_t* CCodec_ScanlineDecoder::ImageDataCache::GetLine(int line) const {
}
CCodec_ScanlineDecoder::CCodec_ScanlineDecoder()
- : m_NextLine(-1), m_pLastScanline(nullptr) {
-}
+ : m_NextLine(-1), m_pLastScanline(nullptr) {}
-CCodec_ScanlineDecoder::~CCodec_ScanlineDecoder() {
-}
+CCodec_ScanlineDecoder::~CCodec_ScanlineDecoder() {}
const uint8_t* CCodec_ScanlineDecoder::GetScanline(int line) {
if (m_pDataCache && line < m_pDataCache->NumLines())
« no previous file with comments | « core/fxcodec/codec/codec_int.h ('k') | core/fxcodec/codec/fx_codec_bmp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698