Quick fix for the memory leak + docs
This commit is contained in:
parent
066c189249
commit
745253a369
4 changed files with 9 additions and 9 deletions
|
@ -9,8 +9,8 @@ using Cursor = blink::WebCursorInfo::Type;
|
|||
|
||||
namespace atom {
|
||||
|
||||
std::string CursorTypeToString(const content::WebCursor::CursorInfo* info) {
|
||||
switch (info->type) {
|
||||
std::string CursorTypeToString(const content::WebCursor::CursorInfo& info) {
|
||||
switch (info.type) {
|
||||
case Cursor::TypePointer: return "default";
|
||||
case Cursor::TypeCross: return "crosshair";
|
||||
case Cursor::TypeHand: return "pointer";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue