| Index: third_party/WebKit/Source/core/frame/Screen.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Screen.cpp b/third_party/WebKit/Source/core/frame/Screen.cpp
|
| index 530c0bb44ac860781fd7645e0aaeeda5ced69e12..d61ba45cc8f8c2bbdcdd72d8ea5881fb6a443ed8 100644
|
| --- a/third_party/WebKit/Source/core/frame/Screen.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Screen.cpp
|
| @@ -28,7 +28,6 @@
|
|
|
| #include "core/frame/Screen.h"
|
|
|
| -#include "core/frame/FrameHost.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/frame/Settings.h"
|
| @@ -68,17 +67,17 @@ int Screen::width() const {
|
| }
|
|
|
| unsigned Screen::colorDepth() const {
|
| - if (!frame() || !frame()->host())
|
| + if (!frame() || !frame()->page())
|
| return 0;
|
| return static_cast<unsigned>(
|
| - frame()->host()->chromeClient().screenInfo().depth);
|
| + frame()->page()->chromeClient().screenInfo().depth);
|
| }
|
|
|
| unsigned Screen::pixelDepth() const {
|
| if (!frame())
|
| return 0;
|
| return static_cast<unsigned>(
|
| - frame()->host()->chromeClient().screenInfo().depth);
|
| + frame()->page()->chromeClient().screenInfo().depth);
|
| }
|
|
|
| int Screen::availLeft() const {
|
|
|