Adding wrapper class WKBackForwardListItemHolder
[chromium-blink-merge.git] / ui / base / cursor / cursor_ozone.cc
blobc4ef8c4d45e1898780dde4402a747ad3989b5e15
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/base/cursor/cursor.h"
7 #include "ui/ozone/public/cursor_factory_ozone.h"
9 namespace ui {
11 void Cursor::RefCustomCursor() {
12 if (platform_cursor_)
13 CursorFactoryOzone::GetInstance()->RefImageCursor(platform_cursor_);
16 void Cursor::UnrefCustomCursor() {
17 if (platform_cursor_)
18 CursorFactoryOzone::GetInstance()->UnrefImageCursor(platform_cursor_);
21 } // namespace ui