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

Unified Diff: third_party/WebKit/Source/web/tests/WebImageTest.cpp

Issue 2654933003: platform/testing/{URL|Unit}TestHelpers improvements (Closed)
Patch Set: cleanup Created 3 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
Index: third_party/WebKit/Source/web/tests/WebImageTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebImageTest.cpp b/third_party/WebKit/Source/web/tests/WebImageTest.cpp
index 9466080e7dc2efaaa875fa753fd30a4178abe895..7facc1c476159006e946dec708aeac0a2d32f632 100644
--- a/third_party/WebKit/Source/web/tests/WebImageTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebImageTest.cpp
@@ -39,9 +39,7 @@
namespace blink {
static PassRefPtr<SharedBuffer> readFile(const char* fileName) {
- String filePath = testing::blinkRootDir();
- filePath.append("/Source/web/tests/data/");
- filePath.append(fileName);
+ String filePath = testing::webTestDataPath(fileName);
return testing::readFromFile(filePath);
}

Powered by Google App Engine
This is Rietveld 408576698