| Index: Source/core/page/Screen.cpp
|
| diff --git a/Source/core/page/Screen.cpp b/Source/core/page/Screen.cpp
|
| index d5e933110fea500ada18ba82b3d0590578a64a41..a36a8bca8e1fc296e19a6f71aee5e3cfcb601ee3 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
|
|
|