Index: Source/web/EditorClientImpl.cpp |
diff --git a/Source/web/EditorClientImpl.cpp b/Source/web/EditorClientImpl.cpp |
index 7d21beb6e7009b46bf0d790feeebdaf8d3610b32..c2ce2340b3c85d4c9f3281e83441b0ee9143a599 100644 |
--- a/Source/web/EditorClientImpl.cpp |
+++ b/Source/web/EditorClientImpl.cpp |
@@ -28,7 +28,7 @@ |
#include "EditorClientImpl.h" |
#include "WebFrameClient.h" |
-#include "WebFrameImpl.h" |
+#include "WebLocalFrameImpl.h" |
#include "WebPermissionClient.h" |
#include "WebViewClient.h" |
#include "WebViewImpl.h" |
@@ -49,7 +49,7 @@ EditorClientImpl::~EditorClientImpl() |
void EditorClientImpl::respondToChangedSelection(LocalFrame* frame, WebCore::SelectionType selectionType) |
{ |
- WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame); |
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); |
if (webFrame->client()) |
webFrame->client()->didChangeSelection(selectionType != WebCore::RangeSelection); |
} |
@@ -62,7 +62,7 @@ void EditorClientImpl::respondToChangedContents() |
bool EditorClientImpl::canCopyCut(LocalFrame* frame, bool defaultValue) const |
{ |
- WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame); |
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); |
if (!webFrame->permissionClient()) |
return defaultValue; |
return webFrame->permissionClient()->allowWriteToClipboard(defaultValue); |
@@ -70,7 +70,7 @@ bool EditorClientImpl::canCopyCut(LocalFrame* frame, bool defaultValue) const |
bool EditorClientImpl::canPaste(LocalFrame* frame, bool defaultValue) const |
{ |
- WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame); |
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); |
if (!webFrame->permissionClient()) |
return defaultValue; |
return webFrame->permissionClient()->allowReadFromClipboard(defaultValue); |