| Index: Source/core/frame/Frame.cpp
|
| diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
|
| index e960868969c61d7ff3a3378a5b243e349949ccf3..429f52066ea6465ad21174364aa1ab8c10034d1b 100644
|
| --- a/Source/core/frame/Frame.cpp
|
| +++ b/Source/core/frame/Frame.cpp
|
| @@ -37,7 +37,6 @@
|
| #include "core/frame/Settings.h"
|
| #include "core/html/HTMLFrameElementBase.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| -#include "core/layout/Layer.h"
|
| #include "core/loader/EmptyClients.h"
|
| #include "core/loader/FrameLoaderClient.h"
|
| #include "core/page/Chrome.h"
|
| @@ -46,8 +45,6 @@
|
| #include "core/page/FocusController.h"
|
| #include "core/page/Page.h"
|
| #include "core/rendering/RenderPart.h"
|
| -#include "platform/graphics/GraphicsLayer.h"
|
| -#include "public/platform/WebLayer.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/RefCountedLeakCounter.h"
|
|
|
| @@ -264,20 +261,6 @@ RenderPart* Frame::ownerRenderer() const
|
| return toRenderPart(object);
|
| }
|
|
|
| -void Frame::setRemotePlatformLayer(WebLayer* layer)
|
| -{
|
| - if (m_remotePlatformLayer)
|
| - GraphicsLayer::unregisterContentsLayer(m_remotePlatformLayer);
|
| - m_remotePlatformLayer = layer;
|
| - if (m_remotePlatformLayer)
|
| - GraphicsLayer::registerContentsLayer(layer);
|
| -
|
| - ASSERT(owner());
|
| - toHTMLFrameOwnerElement(owner())->setNeedsCompositingUpdate();
|
| - if (RenderPart* renderer = ownerRenderer())
|
| - renderer->layer()->updateSelfPaintingLayer();
|
| -}
|
| -
|
| Settings* Frame::settings() const
|
| {
|
| if (m_host)
|
| @@ -290,7 +273,6 @@ Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| , m_host(host)
|
| , m_owner(owner)
|
| , m_client(client)
|
| - , m_remotePlatformLayer(nullptr)
|
| , m_isLoading(false)
|
| {
|
| ASSERT(page());
|
|
|