Commit 65e047e5 authored by eric@webkit.org's avatar eric@webkit.org

2010-02-04 Stephan Aßmus <superstippi@gmx.de>

        Reviewed by David Levin.

        Misc coding style fixes in Haiku port code.
        https://bugs.webkit.org/show_bug.cgi?id=34527

        No tests needed.

        * platform/haiku/ContextMenuItemHaiku.cpp: Trailing white space, NULL -> 0
        * platform/haiku/DragImageHaiku.cpp: Trailing white space.
        * platform/haiku/FileChooserHaiku.cpp: Sorted headers.
        * platform/haiku/LocalizedStringsHaiku.cpp: Needed to include NotImplemented.h

git-svn-id: svn://svn.chromium.org/blink/trunk@54383 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent f09a7cf3
2010-02-04 Stephan Aßmus <superstippi@gmx.de>
Reviewed by David Levin.
Misc coding style fixes in Haiku port code.
https://bugs.webkit.org/show_bug.cgi?id=34527
No tests needed.
* platform/haiku/ContextMenuItemHaiku.cpp: Trailing white space, NULL -> 0
* platform/haiku/DragImageHaiku.cpp: Trailing white space.
* platform/haiku/FileChooserHaiku.cpp: Sorted headers.
* platform/haiku/LocalizedStringsHaiku.cpp: Needed to include NotImplemented.h
2010-02-04 Enrica Casucci <enrica@apple.com> 2010-02-04 Enrica Casucci <enrica@apple.com>
Reviewed by Csaba Osztrogonac. Reviewed by Csaba Osztrogonac.
......
...@@ -70,7 +70,7 @@ ContextMenuItem::~ContextMenuItem() ...@@ -70,7 +70,7 @@ ContextMenuItem::~ContextMenuItem()
PlatformMenuItemDescription ContextMenuItem::releasePlatformDescription() PlatformMenuItemDescription ContextMenuItem::releasePlatformDescription()
{ {
BMenuItem* item = m_platformDescription; BMenuItem* item = m_platformDescription;
m_platformDescription = NULL; m_platformDescription = 0;
return item; return item;
} }
...@@ -116,7 +116,7 @@ void ContextMenuItem::setAction(ContextMenuAction action) ...@@ -116,7 +116,7 @@ void ContextMenuItem::setAction(ContextMenuAction action)
m_platformDescription->Message()->what = action; m_platformDescription->Message()->what = action;
} }
String ContextMenuItem::title() const String ContextMenuItem::title() const
{ {
if (m_platformDescription) if (m_platformDescription)
return ""; return "";
......
...@@ -67,7 +67,7 @@ DragImageRef createDragImageFromImage(Image*) ...@@ -67,7 +67,7 @@ DragImageRef createDragImageFromImage(Image*)
DragImageRef createDragImageIconForCachedImage(CachedImage*) DragImageRef createDragImageIconForCachedImage(CachedImage*)
{ {
notImplemented(); notImplemented();
return 0; return 0;
} }
} // namespace WebCore } // namespace WebCore
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
#include "config.h" #include "config.h"
#include "FileChooser.h" #include "FileChooser.h"
#include "NotImplemented.h"
#include "Icon.h" #include "Icon.h"
#include "NotImplemented.h"
namespace WebCore { namespace WebCore {
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "config.h" #include "config.h"
#include "LocalizedStrings.h" #include "LocalizedStrings.h"
#include "NotImplemented.h"
#include "PlatformString.h" #include "PlatformString.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment