summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/BackingStore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/BackingStore.cpp')
-rw-r--r--Source/WebKit2/UIProcess/BackingStore.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/WebKit2/UIProcess/BackingStore.cpp b/Source/WebKit2/UIProcess/BackingStore.cpp
index 30ec8e629..f90d91cff 100644
--- a/Source/WebKit2/UIProcess/BackingStore.cpp
+++ b/Source/WebKit2/UIProcess/BackingStore.cpp
@@ -33,12 +33,7 @@ using namespace WebCore;
namespace WebKit {
-PassOwnPtr<BackingStore> BackingStore::create(const IntSize& size, float deviceScaleFactor, WebPageProxy* webPageProxy)
-{
- return adoptPtr(new BackingStore(size, deviceScaleFactor, webPageProxy));
-}
-
-BackingStore::BackingStore(const IntSize& size, float deviceScaleFactor, WebPageProxy* webPageProxy)
+BackingStore::BackingStore(const IntSize& size, float deviceScaleFactor, WebPageProxy& webPageProxy)
: m_size(size)
, m_deviceScaleFactor(deviceScaleFactor)
, m_webPageProxy(webPageProxy)