| Index: content/common/cursors/webcursor_mac.mm
|
| diff --git a/content/common/cursors/webcursor_mac.mm b/content/common/cursors/webcursor_mac.mm
|
| index 13c8c0b9c3332a716a5d3668c4dd9102960f0b4c..38870edface20281bce8e8dd64b51d817e5446fd 100644
|
| --- a/content/common/cursors/webcursor_mac.mm
|
| +++ b/content/common/cursors/webcursor_mac.mm
|
| @@ -169,7 +169,7 @@ NSCursor* CreateCustomCursor(const std::vector<char>& custom_data,
|
| // Both the image and its representation need to have the same size for
|
| // cursors to appear in high resolution on retina displays. Note that the
|
| // size of a representation is not the same as pixelsWide or pixelsHigh.
|
| - NSImage* cursor_image = gfx::SkBitmapToNSImage(bitmap);
|
| + NSImage* cursor_image = skia::SkBitmapToNSImage(bitmap);
|
| [cursor_image setSize:dip_size];
|
| [[[cursor_image representations] objectAtIndex:0] setSize:dip_size];
|
|
|
| @@ -354,7 +354,7 @@ void WebCursor::InitFromNSCursor(NSCursor* cursor) {
|
| cursor_info.type = WebCursorInfo::TypeCustom;
|
| NSPoint hot_spot = [cursor hotSpot];
|
| cursor_info.hotspot = gfx::Point(hot_spot.x, hot_spot.y);
|
| - cursor_info.custom_image = gfx::CGImageToSkBitmap(cg_image);
|
| + cursor_info.custom_image = skia::CGImageToSkBitmap(cg_image);
|
| } else {
|
| cursor_info.type = WebCursorInfo::TypePointer;
|
| }
|
|
|