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

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

Issue 1568433005: Platform WebUnitTestSupport onion soup: remove more indirect methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 142d49e6a23843c7a68429f6f1a626518bded5a7..9ca4e9ae5840b1a9d9667427e4e52f92be3d4327 100644
--- a/third_party/WebKit/Source/web/tests/WebImageTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebImageTest.cpp
@@ -32,10 +32,8 @@
#include "platform/SharedBuffer.h"
#include "platform/testing/UnitTestHelpers.h"
-#include "public/platform/Platform.h"
#include "public/platform/WebData.h"
#include "public/platform/WebSize.h"
-#include "public/platform/WebUnitTestSupport.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
@@ -46,7 +44,7 @@ static PassRefPtr<SharedBuffer> readFile(const char* fileName)
filePath.append("/Source/web/tests/data/");
filePath.append(fileName);
- return Platform::current()->unitTestSupport()->readFromFile(filePath);
+ return testing::readFromFile(filePath);
}
TEST(WebImageTest, PNGImage)
« no previous file with comments | « third_party/WebKit/Source/web/tests/MHTMLTest.cpp ('k') | third_party/WebKit/public/platform/WebUnitTestSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698