| Index: Source/core/page/Screen.cpp
|
| diff --git a/Source/core/page/Screen.cpp b/Source/core/page/Screen.cpp
|
| index 12a6b198ba87088e98c908736cf79bd0c9e1dcaa..d392ae87533f38df51ff90e307586b761eade9b3 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)
|
|
|