aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2022-01-11 14:05:39 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2022-01-11 14:05:39 +1100
commit10161cbeb2238afa663e4e2c537145d43c4eb101 (patch)
treeef50203953ba0d0ca9aed9259520cc883d898df1 /cocoa
parent5641f6ad8f8d319562f2a3c10fbd251ad2e300ef (diff)
downloadscintilla-mirror-10161cbeb2238afa663e4e2c537145d43c4eb101.tar.gz
Remove verticalDeviceResolution field which was no longer used from revision 4253.
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/PlatCocoa.h1
-rw-r--r--cocoa/PlatCocoa.mm1
2 files changed, 0 insertions, 2 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h
index bcd9d87b3..831142daf 100644
--- a/cocoa/PlatCocoa.h
+++ b/cocoa/PlatCocoa.h
@@ -49,7 +49,6 @@ private:
/** The text layout instance */
std::unique_ptr<QuartzTextLayout> textLayout;
- int verticalDeviceResolution;
/** If the surface is a bitmap context, contains a reference to the bitmap data. */
std::unique_ptr<uint8_t[]> bitmapData;
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index a8c4b86a1..22888a3ab 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -361,7 +361,6 @@ SurfaceImpl::SurfaceImpl() {
gc = NULL;
textLayout.reset(new QuartzTextLayout());
- verticalDeviceResolution = 0;
bitmapData.reset(); // Release will try and delete bitmapData if != nullptr
bitmapWidth = 0;