summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-19 14:09:08 +0100
committerAndrei Popescu <andreip@google.com>2009-08-19 14:09:08 +0100
commit2796dd1bf3b4b01e7e1d96ea91bd3a212f647579 (patch)
treea3fa109aa5bf52fef562ac49d97a2f723889cc71 /WebCore
parent0a765b92b82dbcf0683bcdb9e18180e7957f7eda (diff)
downloadexternal_webkit-2796dd1bf3b4b01e7e1d96ea91bd3a212f647579.zip
external_webkit-2796dd1bf3b4b01e7e1d96ea91bd3a212f647579.tar.gz
external_webkit-2796dd1bf3b4b01e7e1d96ea91bd3a212f647579.tar.bz2
Revert "Compilation and link error fixes for new webkit r47420."
This reverts commit 632f4508222c2a617e6820e9388867c0f4821db8.
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/Android.v8.mk1
-rw-r--r--WebCore/dom/Node.h13
-rw-r--r--WebCore/page/Geolocation.cpp2
-rw-r--r--WebCore/page/android/InspectorControllerAndroid.cpp1
-rw-r--r--WebCore/platform/graphics/android/ImageBufferAndroid.cpp17
5 files changed, 18 insertions, 16 deletions
diff --git a/WebCore/Android.v8.mk b/WebCore/Android.v8.mk
index 347f678..91b4750 100644
--- a/WebCore/Android.v8.mk
+++ b/WebCore/Android.v8.mk
@@ -767,7 +767,6 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \
storage/SQLResultSetRowList.cpp \
storage/SQLStatement.cpp \
storage/SQLTransaction.cpp \
- storage/SQLTransactionCoordinator.cpp \
storage/Storage.cpp \
storage/StorageAreaImpl.cpp \
storage/StorageAreaSync.cpp \
diff --git a/WebCore/dom/Node.h b/WebCore/dom/Node.h
index 054761e..d1f58dc 100644
--- a/WebCore/dom/Node.h
+++ b/WebCore/dom/Node.h
@@ -507,6 +507,19 @@ public:
static size_t reportDOMNodesSize();
#endif
+protected:
+ virtual void willMoveToNewOwnerDocument();
+ virtual void didMoveToNewOwnerDocument();
+
+ virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const { }
+ void setTabIndexExplicitly(short);
+
+ bool hasRareData() const { return m_hasRareData; }
+
+ NodeRareData* rareData() const;
+ NodeRareData* ensureRareData();
+
+public:
virtual Node* toNode() { return this; }
virtual ScriptExecutionContext* scriptExecutionContext() const;
diff --git a/WebCore/page/Geolocation.cpp b/WebCore/page/Geolocation.cpp
index f5f88d2..f8cc111 100644
--- a/WebCore/page/Geolocation.cpp
+++ b/WebCore/page/Geolocation.cpp
@@ -332,7 +332,7 @@ void Geolocation::requestPermission()
page->chrome()->requestGeolocationPermissionForFrame(m_frame, this);
}
-void Geolocation::geolocationServicePositionChanged(GeolocationService* service)
+void Geolocation::geolocationServicePositionChanged(GeolocationService*)
{
ASSERT_UNUSED(service, service == m_service);
ASSERT(m_service->lastPosition());
diff --git a/WebCore/page/android/InspectorControllerAndroid.cpp b/WebCore/page/android/InspectorControllerAndroid.cpp
index 7bf1865..328a6f3 100644
--- a/WebCore/page/android/InspectorControllerAndroid.cpp
+++ b/WebCore/page/android/InspectorControllerAndroid.cpp
@@ -105,6 +105,7 @@ void InspectorController::resourceRetrievedByXMLHttpRequest(unsigned long identi
void InspectorController::scriptImported(unsigned long identifier, const String& sourceString) {}
void InspectorController::inspectedPageDestroyed() {}
+void InspectorController::inspectedWindowScriptObjectCleared(Frame* frame) {}
void InspectorController::startGroup(MessageSource source, ScriptCallStack* callFrame) {}
void InspectorController::endGroup(MessageSource source, unsigned lineNumber, const String& sourceURL) {}
void InspectorController::startTiming(const String& title) {}
diff --git a/WebCore/platform/graphics/android/ImageBufferAndroid.cpp b/WebCore/platform/graphics/android/ImageBufferAndroid.cpp
index c376ca7..89d841d 100644
--- a/WebCore/platform/graphics/android/ImageBufferAndroid.cpp
+++ b/WebCore/platform/graphics/android/ImageBufferAndroid.cpp
@@ -86,7 +86,7 @@ Image* ImageBuffer::image() const
return m_image.get();
}
-PassRefPtr<ImageData> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const
+PassRefPtr<ImageData> ImageBuffer::getImageData(const IntRect& rect) const
{
GraphicsContext* gc = this->context();
if (!gc) {
@@ -149,13 +149,7 @@ PassRefPtr<ImageData> ImageBuffer::getUnmultipliedImageData(const IntRect& rect)
return result;
}
-PassRefPtr<ImageData> ImageBuffer::getPremultipliedImageData(const IntRect& rect) const
-{
- notImplemented();
- return 0;
-}
-
-void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
+void ImageBuffer::putImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
{
GraphicsContext* gc = this->context();
if (!gc) {
@@ -193,7 +187,7 @@ void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sou
int endy = destPoint.y() + sourceRect.bottom();
ASSERT(endy <= m_size.height());
int numRows = endy - desty;
-
+
unsigned srcBytesPerRow = 4 * source->width();
unsigned dstPixelsPerRow = dst.rowBytesAsPixels();
@@ -212,11 +206,6 @@ void ImageBuffer::putUnmultipliedImageData(ImageData* source, const IntRect& sou
}
}
-void ImageBuffer::putPremultipliedImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint)
-{
- notImplemented();
-}
-
String ImageBuffer::toDataURL(const String&) const
{