diff options
Diffstat (limited to 'webkit/support')
-rw-r--r-- | webkit/support/webkit_support.cc | 2 | ||||
-rw-r--r-- | webkit/support/webkit_support_glue.cc | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc index 8210aaa..ae6f08a 100644 --- a/webkit/support/webkit_support.cc +++ b/webkit/support/webkit_support.cc @@ -566,7 +566,7 @@ WebKit::WebThemeEngine* GetThemeEngine() { // DevTools WebURL GetDevToolsPathAsURL() { FilePath dirExe; - if (!webkit_glue::GetExeDirectory(&dirExe)) { + if (!PathService::Get(base::DIR_EXE, &dirExe)) { DCHECK(false); return WebURL(); } diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc index 522cfa9..f7bcf50 100644 --- a/webkit/support/webkit_support_glue.cc +++ b/webkit/support/webkit_support_glue.cc @@ -38,21 +38,9 @@ bool IsDefaultPluginEnabled() { return false; } -bool IsPluginRunningInRendererProcess() { - return true; -} - void AppendToLog(const char*, int, const char*) { } -bool GetApplicationDirectory(FilePath* path) { - return PathService::Get(base::DIR_EXE, path); -} - -bool GetExeDirectory(FilePath* path) { - return GetApplicationDirectory(path); -} - bool IsProtocolSupportedForMedia(const GURL& url) { if (url.SchemeIsFile() || url.SchemeIs("http") || |