| 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 6d00f396201988a2d0a20241835ad4cf65ed3400..bc6012f3aec1e2b0385ec489c2d16ed7736ec7cd 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
|
| @@ -143,7 +143,7 @@ TEST_F(CSSPreloadScannerTest, DontReadFromClearedData) {
|
| const char* data = "@import url('http://127.0.0.1/preload.css');";
|
| resource->AppendData(data, strlen(data));
|
| ResourceError error(kErrorDomainBlinkInternal, 0, url.GetString(), "");
|
| - resource->GetError(error);
|
| + resource->FinishAsError(error);
|
|
|
| // Should not crash.
|
| PreloadRecordingCSSPreloaderResourceClient* resource_client =
|
|
|