diff options
Diffstat (limited to 'webkit/support')
-rw-r--r-- | webkit/support/webkit_support.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc index 1c49ce9..77237cc 100644 --- a/webkit/support/webkit_support.cc +++ b/webkit/support/webkit_support.cc @@ -371,6 +371,8 @@ WebKit::WebThemeEngine* GetThemeEngine() { return test_environment->theme_engine(); } +#endif + // DevTools WebCString GetDevToolsInjectedScriptSource() { base::StringPiece injectJSWebkit = webkit_glue::GetDataResource( @@ -397,9 +399,7 @@ WebURL GetDevToolsPathAsURL() { return WebURL(); } FilePath devToolsPath = dirExe.AppendASCII("resources/inspector/devtools.html"); - return GURL(devToolsPath.value()); + return net::FilePathToFileURL(devToolsPath); } -#endif - } // namespace webkit_support |