Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 20860003: Remove hyphenation code from Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | webkit/support/webkit_support.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.cc
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
index 8b3c5d2812f287490bef24025442d651a56fff56..39ce9c94fde82e9386fde80f041843c0d14c5bd6 100644
--- a/webkit/support/test_webkit_platform_support.cc
+++ b/webkit/support/test_webkit_platform_support.cc
@@ -114,18 +114,6 @@ TestWebKitPlatformSupport::TestWebKitPlatformSupport() {
DCHECK(file_system_root_.path().empty());
}
- {
- // Initialize the hyphen library with a sample dictionary.
- base::FilePath path;
- PathService::Get(base::DIR_SOURCE_ROOT, &path);
- path = path.Append(FILE_PATH_LITERAL("third_party/hyphen/hyph_en_US.dic"));
- base::PlatformFile dict_file = base::CreatePlatformFile(
- path,
- base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ,
- NULL, NULL);
- hyphenator_.LoadDictionary(dict_file);
- }
-
#if defined(OS_WIN)
// Ensure we pick up the default theme engine.
SetThemeEngine(NULL);
@@ -164,10 +152,6 @@ WebKit::WebBlobRegistry* TestWebKitPlatformSupport::blobRegistry() {
return blob_registry_.get();
}
-WebKit::WebHyphenator* TestWebKitPlatformSupport::hyphenator() {
- return &hyphenator_;
-}
-
WebKit::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() {
NOTREACHED() <<
"IndexedDB cannot be tested with in-process harnesses.";
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | webkit/support/webkit_support.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698