Index: content/shell/renderer/shell_content_renderer_client.cc |
diff --git a/content/shell/renderer/shell_content_renderer_client.cc b/content/shell/renderer/shell_content_renderer_client.cc |
index 657426f9150198afb88f91015626fd19da016f2d..4db6a5218d13b88cebc6feaa0d8c97db1f9c2678 100644 |
--- a/content/shell/renderer/shell_content_renderer_client.cc |
+++ b/content/shell/renderer/shell_content_renderer_client.cc |
@@ -22,13 +22,11 @@ |
#include "third_party/WebKit/public/web/WebPluginParams.h" |
#include "third_party/WebKit/public/web/WebView.h" |
#include "v8/include/v8.h" |
-#include "webkit/mocks/mock_webhyphenator.h" |
#include "webkit/support/mock_webclipboard_impl.h" |
using WebKit::WebAudioDevice; |
using WebKit::WebClipboard; |
using WebKit::WebFrame; |
-using WebKit::WebHyphenator; |
using WebKit::WebMIDIAccessor; |
using WebKit::WebMIDIAccessorClient; |
using WebKit::WebMediaStreamCenter; |
@@ -66,14 +64,6 @@ ShellContentRendererClient::~ShellContentRendererClient() { |
g_renderer_client = NULL; |
} |
-void ShellContentRendererClient::LoadHyphenDictionary( |
- base::PlatformFile dict_file) { |
- if (!hyphenator_) |
- hyphenator_.reset(new webkit_glue::MockWebHyphenator); |
- base::SeekPlatformFile(dict_file, base::PLATFORM_FILE_FROM_BEGIN, 0); |
- hyphenator_->LoadDictionary(dict_file); |
-} |
- |
void ShellContentRendererClient::RenderThreadStarted() { |
shell_observer_.reset(new ShellRenderProcessObserver()); |
#if defined(OS_MACOSX) |
@@ -178,15 +168,6 @@ WebKit::WebCrypto* ShellContentRendererClient::OverrideWebCrypto() { |
return interfaces->crypto(); |
} |
-WebHyphenator* ShellContentRendererClient::OverrideWebHyphenator() { |
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) |
- return NULL; |
- if (!hyphenator_) |
- hyphenator_.reset(new webkit_glue::MockWebHyphenator); |
- return hyphenator_.get(); |
- |
-} |
- |
WebThemeEngine* ShellContentRendererClient::OverrideThemeEngine() { |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) |
return NULL; |