| Index: third_party/WebKit/WebCore/platform/graphics/Icon.h
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/platform/graphics/Icon.h (revision 58975)
|
| +++ third_party/WebKit/WebCore/platform/graphics/Icon.h (working copy)
|
| @@ -42,6 +42,7 @@
|
| #elif PLATFORM(EFL)
|
| #include <Evas.h>
|
| #elif PLATFORM(CHROMIUM)
|
| +#include "Image.h"
|
| #include "PlatformIcon.h"
|
| #endif
|
|
|
| @@ -61,6 +62,8 @@
|
|
|
| #if PLATFORM(WIN)
|
| static PassRefPtr<Icon> create(HICON hIcon) { return adoptRef(new Icon(hIcon)); }
|
| +#elif PLATFORM(CHROMIUM)
|
| + static PassRefPtr<Icon> create(PassRefPtr<PlatformIcon> icon) { return adoptRef(new Icon(icon)); }
|
| #endif
|
|
|
| private:
|
| @@ -80,8 +83,8 @@
|
| Icon();
|
| Evas_Object* m_icon;
|
| #elif PLATFORM(CHROMIUM)
|
| - Icon(const PlatformIcon&);
|
| - PlatformIcon m_icon;
|
| + Icon(PassRefPtr<PlatformIcon>);
|
| + RefPtr<PlatformIcon> m_icon;
|
| #endif
|
| };
|
|
|
|
|