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

Unified Diff: Source/web/tests/AssociatedURLLoaderTest.cpp

Issue 271793007: Fix webkit_unit_tests to use the threaded parser and enable everywhere. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload? Created 6 years, 7 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: Source/web/tests/AssociatedURLLoaderTest.cpp
diff --git a/Source/web/tests/AssociatedURLLoaderTest.cpp b/Source/web/tests/AssociatedURLLoaderTest.cpp
index d9ad0436c8098c0f7b4b0666a9259673b3fccde2..24c0ecab64062e514fd789271d919a925fc57acc 100644
--- a/Source/web/tests/AssociatedURLLoaderTest.cpp
+++ b/Source/web/tests/AssociatedURLLoaderTest.cpp
@@ -101,11 +101,7 @@ public:
RegisterMockedUrl(urlRoot, iframeSupportFiles[i]);
}
- WebURLRequest request;
- request.initialize();
- request.setURL(url);
- mainFrame()->loadRequest(request);
- serveRequests();
+ FrameTestHelpers::loadFrame(mainFrame(), url.string().utf8().data());
Platform::current()->unitTestSupport()->unregisterMockedURL(url);
}

Powered by Google App Engine
This is Rietveld 408576698