summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-06-11 07:39:03 -0700
committerFeng Qian <fqian@google.com>2009-06-11 07:39:03 -0700
commitf78dd0d21ae5edc3c69cc41403fcb9baf4bbca1e (patch)
tree814479d8d455200ea9b16ff334afbd5b1308acb8
parent5f95030b683afa83909e9de4ac8ba908ca15112c (diff)
downloadexternal_webkit-f78dd0d21ae5edc3c69cc41403fcb9baf4bbca1e.zip
external_webkit-f78dd0d21ae5edc3c69cc41403fcb9baf4bbca1e.tar.gz
external_webkit-f78dd0d21ae5edc3c69cc41403fcb9baf4bbca1e.tar.bz2
Fix some minor issues from webkit review feedbacks.
-rw-r--r--WebCore/platform/android/SystemTimeAndroid.cpp2
-rw-r--r--WebCore/platform/android/TemporaryLinkStubs.cpp2
-rw-r--r--WebCore/platform/android/WidgetAndroid.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/platform/android/SystemTimeAndroid.cpp b/WebCore/platform/android/SystemTimeAndroid.cpp
index a9c862a..1ecbfc7 100644
--- a/WebCore/platform/android/SystemTimeAndroid.cpp
+++ b/WebCore/platform/android/SystemTimeAndroid.cpp
@@ -31,7 +31,7 @@ namespace WebCore {
float userIdleTime()
{
// Needed for PageCache, which we currently have disabled.
- return 0.0F;
+ return 0.0f;
}
} // namespace WebCore
diff --git a/WebCore/platform/android/TemporaryLinkStubs.cpp b/WebCore/platform/android/TemporaryLinkStubs.cpp
index 6c301e3..446b078 100644
--- a/WebCore/platform/android/TemporaryLinkStubs.cpp
+++ b/WebCore/platform/android/TemporaryLinkStubs.cpp
@@ -372,7 +372,7 @@ namespace WebCore {
IntSize dragImageSize(void*)
{
- return IntSize(0, 0);
+ return IntSize();
}
void deleteDragImage(void*) {}
diff --git a/WebCore/platform/android/WidgetAndroid.cpp b/WebCore/platform/android/WidgetAndroid.cpp
index 850721d..fcfea2e 100644
--- a/WebCore/platform/android/WidgetAndroid.cpp
+++ b/WebCore/platform/android/WidgetAndroid.cpp
@@ -51,7 +51,7 @@ IntRect Widget::frameRect() const
{
// FIXME: use m_frame instead?
if (!platformWidget())
- return IntRect(0, 0, 0, 0);
+ return IntRect();
return platformWidget()->getBounds();
}