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

Unified Diff: third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.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
Index: third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp b/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
index 130c77e4e6daf0239af60349381ffc3b5ad13756..2d6dd9b8e087a18a2bc6b6c95f180a53f1641799 100644
--- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
+++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
@@ -63,7 +63,7 @@ TEST_F(CSSPreloadScannerTest, ScanFromResourceClient) {
KURL url(ParsedURLString, "http://127.0.0.1/foo.css");
CSSStyleSheetResource* resource =
CSSStyleSheetResource::createForTest(ResourceRequest(url), "utf-8");
- resource->setStatus(Resource::Pending);
+ resource->setStatus(ResourceStatus::Pending);
PreloadRecordingCSSPreloaderResourceClient* resourceClient =
new PreloadRecordingCSSPreloaderResourceClient(resource, preloader);
@@ -90,7 +90,7 @@ TEST_F(CSSPreloadScannerTest, DestroyClientBeforeDataSent) {
KURL url(ParsedURLString, "http://127.0.0.1/foo.css");
Persistent<CSSStyleSheetResource> resource =
CSSStyleSheetResource::createForTest(ResourceRequest(url), "utf-8");
- resource->setStatus(Resource::Pending);
+ resource->setStatus(ResourceStatus::Pending);
new PreloadRecordingCSSPreloaderResourceClient(resource, preloader);
@@ -141,7 +141,7 @@ TEST_F(CSSPreloadScannerTest, DoNotExpectValidDocument) {
KURL url(ParsedURLString, "http://127.0.0.1/foo.css");
CSSStyleSheetResource* resource =
CSSStyleSheetResource::createForTest(ResourceRequest(url), "utf-8");
- resource->setStatus(Resource::Pending);
+ resource->setStatus(ResourceStatus::Pending);
PreloadRecordingCSSPreloaderResourceClient* resourceClient =
new PreloadRecordingCSSPreloaderResourceClient(resource, preloader);
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageDocument.cpp ('k') | third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698