Index: Source/platform/graphics/GraphicsContext.h |
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
index 8896ba35491abd0141c2d55232afa271d8293ac7..0a69cbc8eb768664ca0a34e3f36b796fc532a366 100644 |
--- a/Source/platform/graphics/GraphicsContext.h |
+++ b/Source/platform/graphics/GraphicsContext.h |
@@ -178,7 +178,7 @@ public: |
CompositeOperator compositeOperation() const { return immutableState()->compositeOperator(); } |
WebBlendMode blendModeOperation() const { return immutableState()->blendMode(); } |
- // Speicy the device scale factor which may change the way document markers |
+ // Specify the device scale factor which may change the way document markers |
// and fonts are rendered. |
void setDeviceScaleFactor(float factor) { m_deviceScaleFactor = factor; } |
float deviceScaleFactor() const { return m_deviceScaleFactor; } |
@@ -375,10 +375,6 @@ public: |
void scale(float x, float y); |
void rotate(float angleInRadians); |
void translate(float x, float y); |
- |
- // This function applies the device scale factor to the context, making the context capable of |
- // acting as a base-level context for a HiDPI environment. |
- void applyDeviceScaleFactor(float deviceScaleFactor) { scale(deviceScaleFactor, deviceScaleFactor); } |
// ---------- End transformation methods ----------------- |
// URL drawing |