diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 23:02:44 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 23:02:44 +0000 |
commit | a58d46fe3dc2b9ae8197566fe5b58a7f5df16e35 (patch) | |
tree | 9d973b29c301085ba336aa3353bf0294b87a4392 /webkit/glue/webkitclient_impl.cc | |
parent | 0872564f327a832829a5669e451d2f433f91f011 (diff) | |
download | chromium_src-a58d46fe3dc2b9ae8197566fe5b58a7f5df16e35.zip chromium_src-a58d46fe3dc2b9ae8197566fe5b58a7f5df16e35.tar.gz chromium_src-a58d46fe3dc2b9ae8197566fe5b58a7f5df16e35.tar.bz2 |
Remove unnecessary WebCore includes.
R=yaar
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/397016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.cc')
-rw-r--r-- | webkit/glue/webkitclient_impl.cc | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc index e495673..6d29eb1 100644 --- a/webkit/glue/webkitclient_impl.cc +++ b/webkit/glue/webkitclient_impl.cc @@ -2,16 +2,10 @@ // source code is governed by a BSD-style license that can be found in the // LICENSE file. -#include <math.h> -#include "config.h" - -#include "FrameView.h" -#include "ScrollView.h" -#include <wtf/Assertions.h> -#undef LOG - #include "webkit/glue/webkitclient_impl.h" +#include <math.h> + #include "base/file_path.h" #include "base/file_util.h" #include "base/message_loop.h" @@ -390,9 +384,7 @@ bool WebKitClientImpl::isDirectory(const WebKit::WebString& path) { } WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { - FilePath file_path(webkit_glue::WebStringToFilePathString(path)); - GURL file_url = net::FilePathToFileURL(file_path); - return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); + return net::FilePathToFileURL(webkit_glue::WebStringToFilePath(path)); } } // namespace webkit_glue |