diff options
Diffstat (limited to 'WebCore/editing/haiku/EditorHaiku.cpp')
-rw-r--r-- | WebCore/editing/haiku/EditorHaiku.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/editing/haiku/EditorHaiku.cpp b/WebCore/editing/haiku/EditorHaiku.cpp index 17fde1f..723d4ff 100644 --- a/WebCore/editing/haiku/EditorHaiku.cpp +++ b/WebCore/editing/haiku/EditorHaiku.cpp @@ -28,9 +28,8 @@ #include "config.h" #include "Editor.h" -#include "ClipboardAccessPolicy.h" #include "Clipboard.h" - +#include "ClipboardAccessPolicy.h" #include "ClipboardHaiku.h" @@ -38,7 +37,7 @@ namespace WebCore { PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy) { - return new ClipboardHaiku(policy, false); + return ClipboardHaiku::create(policy, false); } } // namespace WebCore |