Index: third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
diff --git a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
index d0e10b613f9fb63df7122d46540f79525d16ad04..2f6d15418c3e87b05b90c80f7b5cb4f7ce50c04b 100644 |
--- a/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
+++ b/third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp |
@@ -89,6 +89,12 @@ |
return FilePathToWebString(BlinkRootFilePath()); |
} |
+String ExecutableDir() { |
+ base::FilePath path; |
+ base::PathService::Get(base::DIR_EXE, &path); |
+ return FilePathToWebString(base::MakeAbsoluteFilePath(path)); |
+} |
+ |
String WebTestDataPath(const String& relative_path) { |
return FilePathToWebString( |
BlinkRootFilePath() |