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

Unified Diff: Source/core/fetch/ImageResourceTest.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | « Source/core/fetch/FontResource.cpp ('k') | Source/core/fetch/MemoryCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ImageResourceTest.cpp
diff --git a/Source/core/fetch/ImageResourceTest.cpp b/Source/core/fetch/ImageResourceTest.cpp
index 2949e32a3710a0cb757f6d3b6f5e465cb23955bf..c152addc9a76e82ba6db87403e57502523912ead 100644
--- a/Source/core/fetch/ImageResourceTest.cpp
+++ b/Source/core/fetch/ImageResourceTest.cpp
@@ -52,18 +52,18 @@ using namespace WebCore;
namespace {
-class QuitTask : public WebKit::WebThread::Task {
+class QuitTask : public blink::WebThread::Task {
public:
virtual void run()
{
- WebKit::Platform::current()->currentThread()->exitRunLoop();
+ blink::Platform::current()->currentThread()->exitRunLoop();
}
};
void runPendingTasks()
{
- WebKit::Platform::current()->currentThread()->postTask(new QuitTask);
- WebKit::Platform::current()->currentThread()->enterRunLoop();
+ blink::Platform::current()->currentThread()->postTask(new QuitTask);
+ blink::Platform::current()->currentThread()->enterRunLoop();
}
TEST(ImageResourceTest, MultipartImage)
@@ -114,12 +114,12 @@ TEST(ImageResourceTest, CancelOnDetach)
{
KURL testURL(ParsedURLString, "http://www.test.com/cancelTest.html");
- WebKit::WebURLResponse response;
+ blink::WebURLResponse response;
response.initialize();
response.setMIMEType("text/html");
- WTF::String localPath = WebKit::Platform::current()->unitTestSupport()->webKitRootDir();
+ WTF::String localPath = blink::Platform::current()->unitTestSupport()->webKitRootDir();
localPath.append("/Source/web/tests/data/cancelTest.html");
- WebKit::Platform::current()->unitTestSupport()->registerMockedURL(testURL, response, localPath);
+ blink::Platform::current()->unitTestSupport()->registerMockedURL(testURL, response, localPath);
// Create enough of a mocked world to get a functioning ResourceLoader.
Page::PageClients pageClients;
@@ -151,7 +151,7 @@ TEST(ImageResourceTest, CancelOnDetach)
EXPECT_EQ(Resource::LoadError, cachedImage->status());
EXPECT_EQ(reinterpret_cast<Resource*>(0), memoryCache()->resourceForURL(testURL));
- WebKit::Platform::current()->unitTestSupport()->unregisterMockedURL(testURL);
+ blink::Platform::current()->unitTestSupport()->unregisterMockedURL(testURL);
}
} // namespace
« no previous file with comments | « Source/core/fetch/FontResource.cpp ('k') | Source/core/fetch/MemoryCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698