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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp

Issue 2642383003: Replace Resource::Status with ResourceStatus (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
index 8a73ed8a67a9d4f0607431d9ecf373f26c6684e6..52ec7356c51d7fcd7968087a7be8ff11d8f5a3aa 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
@@ -35,7 +35,7 @@ class ScriptStreamingTest : public ::testing::Test {
m_resourceRequest("http://www.streaming-test.com/"),
m_resource(ScriptResource::create(m_resourceRequest, "UTF-8")),
m_pendingScript(PendingScript::create(0, m_resource.get())) {
- m_resource->setStatus(Resource::Pending);
+ m_resource->setStatus(ResourceStatus::Pending);
m_pendingScript = PendingScript::create(0, m_resource.get());
ScriptStreamer::setSmallScriptThresholdForTesting(0);
}
@@ -69,7 +69,7 @@ class ScriptStreamingTest : public ::testing::Test {
void finish() {
m_resource->finish();
- m_resource->setStatus(Resource::Cached);
+ m_resource->setStatus(ResourceStatus::Cached);
}
void processTasksUntilStreamingComplete() {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698