Diff
Modified: trunk/Source/WebCore/ChangeLog (138224 => 138225)
--- trunk/Source/WebCore/ChangeLog 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebCore/ChangeLog 2012-12-20 05:52:36 UTC (rev 138225)
@@ -1,3 +1,18 @@
+2012-12-19 Mark Pilgrim <pilg...@chromium.org>
+
+ [Chromium] Remove idbFactory from PlatformSupport
+ https://bugs.webkit.org/show_bug.cgi?id=105460
+
+ Reviewed by Darin Fisher.
+
+ Part of a larger refactoring series; see tracking bug 82948.
+
+ * WebCore.gyp/WebCore.gyp:
+ * WebCore.gypi:
+ * platform/chromium/PlatformSupport.h: Removed.
+ * storage/chromium: Removed.
+ * storage/chromium/IDBFactoryBackendInterface.cpp: Removed.
+
2012-12-19 Eric Carlson <eric.carl...@apple.com>
Crash in TextTrack::trackIndexRelativeToRenderedTracks()
Modified: trunk/Source/WebCore/WebCore.gyp/WebCore.gyp (138224 => 138225)
--- trunk/Source/WebCore/WebCore.gyp/WebCore.gyp 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebCore/WebCore.gyp/WebCore.gyp 2012-12-20 05:52:36 UTC (rev 138225)
@@ -144,7 +144,6 @@
'../rendering/style',
'../rendering/svg',
'../storage',
- '../storage/chromium',
'../svg',
'../svg/animation',
'../svg/graphics',
Modified: trunk/Source/WebCore/WebCore.gypi (138224 => 138225)
--- trunk/Source/WebCore/WebCore.gypi 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebCore/WebCore.gypi 2012-12-20 05:52:36 UTC (rev 138225)
@@ -2579,7 +2579,6 @@
'storage/StorageTrackerClient.h',
'storage/StorageTracker.cpp',
'storage/StorageTracker.h',
- 'storage/chromium/IDBFactoryBackendInterface.cpp',
'workers/AbstractWorker.cpp',
'workers/AbstractWorker.h',
'workers/DedicatedWorkerContext.cpp',
@@ -3653,7 +3652,6 @@
'platform/chromium/PasteboardChromium.cpp',
'platform/chromium/PlatformKeyboardEventChromium.cpp',
'platform/chromium/PlatformScreenChromium.cpp',
- 'platform/chromium/PlatformSupport.h',
'platform/chromium/PlatformThemeChromiumDefault.cpp',
'platform/chromium/PlatformThemeChromiumDefault.h',
'platform/chromium/PlatformWidget.h',
Deleted: trunk/Source/WebCore/platform/chromium/PlatformSupport.h (138224 => 138225)
--- trunk/Source/WebCore/platform/chromium/PlatformSupport.h 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebCore/platform/chromium/PlatformSupport.h 2012-12-20 05:52:36 UTC (rev 138225)
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2010, Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- * * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef PlatformSupport_h
-#define PlatformSupport_h
-
-#include <wtf/Forward.h>
-
-namespace WebCore {
-
-class IDBFactoryBackendInterface;
-
-// PlatformSupport an interface to the embedding layer that lets the embedder
-// supply implementations for Platform functionality that WebCore cannot access
-// directly (for example, because WebCore is in a sandbox).
-
-class PlatformSupport {
-public:
- // IndexedDB ----------------------------------------------------------
- static PassRefPtr<IDBFactoryBackendInterface> idbFactory();
-};
-
-} // namespace WebCore
-
-#endif
Deleted: trunk/Source/WebCore/storage/chromium/IDBFactoryBackendInterface.cpp (138224 => 138225)
--- trunk/Source/WebCore/storage/chromium/IDBFactoryBackendInterface.cpp 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebCore/storage/chromium/IDBFactoryBackendInterface.cpp 2012-12-20 05:52:36 UTC (rev 138225)
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-#include "config.h"
-#include "IDBFactoryBackendInterface.h"
-
-#include "PlatformSupport.h"
-
-#if ENABLE(INDEXED_DATABASE)
-
-namespace WebCore {
-
-PassRefPtr<IDBFactoryBackendInterface> IDBFactoryBackendInterface::create()
-{
- return PlatformSupport::idbFactory();
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(INDEXED_DATABASE)
Modified: trunk/Source/WebKit/chromium/ChangeLog (138224 => 138225)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-12-20 05:52:36 UTC (rev 138225)
@@ -1,3 +1,18 @@
+2012-12-19 Mark Pilgrim <pilg...@chromium.org>
+
+ [Chromium] Remove idbFactory from PlatformSupport
+ https://bugs.webkit.org/show_bug.cgi?id=105460
+
+ Reviewed by Darin Fisher.
+
+ Part of a larger refactoring series; see tracking bug 82948.
+
+ * WebKit.gyp:
+ * src/IDBFactoryBackendInterface.cpp: Added.
+ (WebCore):
+ (WebCore::IDBFactoryBackendInterface::create):
+ * src/PlatformSupport.cpp: Removed.
+
2012-12-19 Antoine Labour <pi...@chromium.org>
[chromium] Remove old setBackingTextureId/setBackingIOSurfaceId API on WebPluginContainer
Modified: trunk/Source/WebKit/chromium/WebKit.gyp (138224 => 138225)
--- trunk/Source/WebKit/chromium/WebKit.gyp 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebKit/chromium/WebKit.gyp 2012-12-20 05:52:36 UTC (rev 138225)
@@ -413,6 +413,7 @@
'src/IDBDatabaseCallbacksProxy.h',
'src/IDBDatabaseBackendProxy.cpp',
'src/IDBDatabaseBackendProxy.h',
+ 'src/IDBFactoryBackendInterface.cpp',
'src/IDBFactoryBackendProxy.cpp',
'src/IDBFactoryBackendProxy.h',
'src/IDBIndexBackendProxy.cpp',
@@ -458,7 +459,6 @@
'src/PageWidgetDelegate.h',
'src/PlatformMessagePortChannel.cpp',
'src/PlatformMessagePortChannel.h',
- 'src/PlatformSupport.cpp',
'src/ScrollbarGroup.cpp',
'src/ScrollbarGroup.h',
'src/SharedWorkerRepository.cpp',
Copied: trunk/Source/WebKit/chromium/src/IDBFactoryBackendInterface.cpp (from rev 138224, trunk/Source/WebCore/storage/chromium/IDBFactoryBackendInterface.cpp) (0 => 138225)
--- trunk/Source/WebKit/chromium/src/IDBFactoryBackendInterface.cpp (rev 0)
+++ trunk/Source/WebKit/chromium/src/IDBFactoryBackendInterface.cpp 2012-12-20 05:52:36 UTC (rev 138225)
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+#include "config.h"
+#include "IDBFactoryBackendInterface.h"
+
+#include "IDBFactoryBackendProxy.h"
+
+#if ENABLE(INDEXED_DATABASE)
+
+namespace WebCore {
+
+PassRefPtr<IDBFactoryBackendInterface> IDBFactoryBackendInterface::create()
+{
+ // There's no reason why we need to allocate a new proxy each time, but
+ // there's also no strong reason not to.
+ return WebKit::IDBFactoryBackendProxy::create();
+}
+
+} // namespace WebCore
+
+#endif // ENABLE(INDEXED_DATABASE)
Deleted: trunk/Source/WebKit/chromium/src/PlatformSupport.cpp (138224 => 138225)
--- trunk/Source/WebKit/chromium/src/PlatformSupport.cpp 2012-12-20 05:50:34 UTC (rev 138224)
+++ trunk/Source/WebKit/chromium/src/PlatformSupport.cpp 2012-12-20 05:52:36 UTC (rev 138225)
@@ -1,50 +0,0 @@
-/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- * * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "PlatformSupport.h"
-
-#include "IDBFactoryBackendProxy.h"
-
-// We are part of the WebKit implementation.
-using namespace WebKit;
-
-namespace WebCore {
-
-// Indexed Database -----------------------------------------------------------
-
-PassRefPtr<IDBFactoryBackendInterface> PlatformSupport::idbFactory()
-{
- // There's no reason why we need to allocate a new proxy each time, but
- // there's also no strong reason not to.
- return IDBFactoryBackendProxy::create();
-}
-
-} // namespace WebCore