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

Unified Diff: content/browser/renderer_host/input/touch_emulator.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/browser/devtools/protocol/color_picker.cc ('k') | content/common/cursors/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/touch_emulator.cc
diff --git a/content/browser/renderer_host/input/touch_emulator.cc b/content/browser/renderer_host/input/touch_emulator.cc
index 1417c637d6e2eff42fafcce49d122ed3731fc157..cdbc77da53e43b4ef5d218b667589b96fe3d46b3 100644
--- a/content/browser/renderer_host/input/touch_emulator.cc
+++ b/content/browser/renderer_host/input/touch_emulator.cc
@@ -126,9 +126,6 @@ gfx::SizeF TouchEmulator::InitCursorFromResource(
cursor_info.custom_image = cursor_image.AsBitmap();
cursor_info.hotspot =
gfx::Point(cursor_image.Width() / 2, cursor_image.Height() / 2);
-#if defined(OS_WIN)
- cursor_info.external_handle = 0;
-#endif
cursor->InitFromCursorInfo(cursor_info);
return gfx::ScaleSize(gfx::SizeF(cursor_image.Size()), 1.f / scale);
« no previous file with comments | « content/browser/devtools/protocol/color_picker.cc ('k') | content/common/cursors/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698