Index: Source/core/platform/chromium/PlatformScreenChromium.cpp |
diff --git a/Source/core/platform/chromium/PlatformScreenChromium.cpp b/Source/core/platform/chromium/PlatformScreenChromium.cpp |
index 8bf58b6861da936bc6b02ab3b22d6b706791dce9..079c0400f6872d93083e87badcf8d39d617cabe5 100644 |
--- a/Source/core/platform/chromium/PlatformScreenChromium.cpp |
+++ b/Source/core/platform/chromium/PlatformScreenChromium.cpp |
@@ -31,7 +31,7 @@ |
#include "config.h" |
#include "core/platform/PlatformScreen.h" |
-#include "core/platform/ScrollView.h" |
+#include "core/platform/Widget.h" |
#include "platform/HostWindow.h" |
#include "platform/geometry/FloatRect.h" |
#include "public/platform/Platform.h" |
@@ -43,7 +43,7 @@ static HostWindow* toHostWindow(Widget* widget) |
{ |
if (!widget) |
return 0; |
- ScrollView* root = widget->root(); |
+ Widget* root = widget->root(); |
if (!root) |
return 0; |
return root->hostWindow(); |