Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1018)

Unified Diff: content/renderer/cursor_utils.cc

Issue 1975033002: Minor cleanup to webcursors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete another function Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/cursors/webcursor_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/cursor_utils.cc
diff --git a/content/renderer/cursor_utils.cc b/content/renderer/cursor_utils.cc
index 371aaad1fbf3d47fb4f2e0e9901a3dd3ef962332..fb38d89584147654b5b5f20151615fecb3d70cef 100644
--- a/content/renderer/cursor_utils.cc
+++ b/content/renderer/cursor_utils.cc
@@ -21,9 +21,6 @@ bool GetWebCursorInfo(const WebCursor& cursor,
web_cursor_info->hotSpot = cursor_info.hotspot;
web_cursor_info->customImage = cursor_info.custom_image;
web_cursor_info->imageScaleFactor = cursor_info.image_scale_factor;
-#if defined(OS_WIN)
- web_cursor_info->externalHandle = cursor_info.external_handle;
-#endif
return true;
}
@@ -34,9 +31,6 @@ void InitializeCursorFromWebCursorInfo(WebCursor* cursor,
cursor_info.image_scale_factor = web_cursor_info.imageScaleFactor;
cursor_info.hotspot = web_cursor_info.hotSpot;
cursor_info.custom_image = web_cursor_info.customImage.getSkBitmap();
-#if defined(OS_WIN)
- cursor_info.external_handle = web_cursor_info.externalHandle;
-#endif
cursor->InitFromCursorInfo(cursor_info);
}
« no previous file with comments | « content/common/cursors/webcursor_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698