| Index: Source/core/page/Screen.cpp
|
| diff --git a/Source/core/page/Screen.cpp b/Source/core/page/Screen.cpp
|
| index 7b7b4d318c91d1e61e41afd84c2da1e12e342801..cb143ac5e8289c784472fa87203daf93dea6bd7e 100644
|
| --- a/Source/core/page/Screen.cpp
|
| +++ b/Source/core/page/Screen.cpp
|
| @@ -48,18 +48,14 @@ unsigned Screen::height() const
|
| {
|
| if (!m_frame)
|
| return 0;
|
| - long height = static_cast<long>(screenRect(m_frame->view()).height());
|
| - InspectorInstrumentation::applyScreenHeightOverride(m_frame, &height);
|
| - return static_cast<unsigned>(height);
|
| + return static_cast<unsigned>(screenRect(m_frame->view()).height());
|
| }
|
|
|
| unsigned Screen::width() const
|
| {
|
| if (!m_frame)
|
| return 0;
|
| - long width = static_cast<long>(screenRect(m_frame->view()).width());
|
| - InspectorInstrumentation::applyScreenWidthOverride(m_frame, &width);
|
| - return static_cast<unsigned>(width);
|
| + return static_cast<unsigned>(screenRect(m_frame->view()).width());
|
| }
|
|
|
| unsigned Screen::colorDepth() const
|
|
|