Index: Source/core/page/Screen.cpp |
diff --git a/Source/core/page/Screen.cpp b/Source/core/page/Screen.cpp |
index 9984ba903816ff5d0fb209acfeee64b298a1ac0f..cac544153eddc17a1d2f704db1c29e3cb212c5f9 100644 |
--- a/Source/core/page/Screen.cpp |
+++ b/Source/core/page/Screen.cpp |
@@ -46,35 +46,6 @@ Screen::Screen(Frame* frame) |
ScriptWrappable::init(this); |
} |
-unsigned Screen::horizontalDPI() const |
-{ |
- if (!m_frame) |
- return 0; |
- |
- // Used by the testing system, can be set from internals. |
- IntSize override = m_frame->page()->settings()->resolutionOverride(); |
- if (!override.isEmpty()) |
- return override.width(); |
- |
- // The DPI is defined as dots per CSS inch and thus not device inch. |
- return m_frame->page()->deviceScaleFactor() * 96; |
-} |
- |
-unsigned Screen::verticalDPI() const |
-{ |
- // The DPI is defined as dots per CSS inch and thus not device inch. |
- if (!m_frame) |
- return 0; |
- |
- // Used by the testing system, can be set from internals. |
- IntSize override = m_frame->page()->settings()->resolutionOverride(); |
- if (!override.isEmpty()) |
- return override.height(); |
- |
- // The DPI is defined as dots per CSS inch and thus not device inch. |
- return m_frame->page()->deviceScaleFactor() * 96; |
-} |
- |
unsigned Screen::height() const |
{ |
if (!m_frame) |