Index: sky/engine/core/css/MediaValues.cpp |
diff --git a/sky/engine/core/css/MediaValues.cpp b/sky/engine/core/css/MediaValues.cpp |
index d317b41cec4cdb4e0d8336675458b908adbdfa8c..c23debbf88008926c9e052c89a223c597d2c0081 100644 |
--- a/sky/engine/core/css/MediaValues.cpp |
+++ b/sky/engine/core/css/MediaValues.cpp |
@@ -33,13 +33,13 @@ PassRefPtr<MediaValues> MediaValues::createDynamicIfFrameExists(LocalFrame* fram |
int MediaValues::calculateViewportWidth(LocalFrame* frame) const |
{ |
ASSERT(frame && frame->view() && frame->document()); |
- return frame->view()->layoutSize(IncludeScrollbars).width(); |
+ return frame->view()->layoutSize().width(); |
} |
int MediaValues::calculateViewportHeight(LocalFrame* frame) const |
{ |
ASSERT(frame && frame->view() && frame->document()); |
- return frame->view()->layoutSize(IncludeScrollbars).height(); |
+ return frame->view()->layoutSize().height(); |
} |
int MediaValues::calculateDeviceWidth(LocalFrame* frame) const |