summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebCursorInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebCursorInfo.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebCursorInfo.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/WebKit/chromium/src/WebCursorInfo.cpp b/Source/WebKit/chromium/src/WebCursorInfo.cpp
index d4b0f81fa..0981e4665 100644
--- a/Source/WebKit/chromium/src/WebCursorInfo.cpp
+++ b/Source/WebKit/chromium/src/WebCursorInfo.cpp
@@ -38,13 +38,14 @@ using namespace WebCore;
namespace WebKit {
WebCursorInfo::WebCursorInfo(const Cursor& cursor)
-{
- type = static_cast<Type>(cursor.impl().type());
- hotSpot = cursor.impl().hotSpot();
- customImage = cursor.impl().customImage();
+ : type(static_cast<Type>(cursor.type()))
+ , hotSpot(cursor.hotSpot())
+ , imageScaleFactor(1)
+ , customImage(cursor.image())
#ifdef WIN32
- externalHandle = 0;
+ , externalHandle(0)
#endif
+{
}
} // namespace WebKit