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

Unified Diff: base/base_paths_win.cc

Issue 8585029: Make GetWebKitRootDirFilePath smarter about where the WebKit root is relative to the chromium root (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 11 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 | « base/base_paths_posix.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths_win.cc
diff --git a/base/base_paths_win.cc b/base/base_paths_win.cc
index b29a99155e30b723f967cad7c102b3e84ca59603..9586b1f8932a12abe78282b87f35572a99cbe7fd 100644
--- a/base/base_paths_win.cc
+++ b/base/base_paths_win.cc
@@ -117,14 +117,6 @@ bool PathProviderWin(int key, FilePath* result) {
// For example: chrome/{Debug|Release}/ui_tests.exe
PathService::Get(base::DIR_EXE, &executableDir);
cur = executableDir.DirName().DirName();
- FilePath checkedPath =
- cur.Append(FILE_PATH_LITERAL("base/base_paths_win.cc"));
- if (!file_util::PathExists(checkedPath)) {
- // Check for WebKit-only checkout. Executable files are put into
- // WebKit/WebKit/chromium/{Debug|Relese}, and we should return
- // WebKit/WebKit/chromium.
- cur = executableDir.DirName();
- }
break;
}
default:
« no previous file with comments | « base/base_paths_posix.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698