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

Unified Diff: Source/web/tests/sim/SimRequest.cpp

Issue 1329553004: Add a FOUC painting test. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix build. Created 5 years, 3 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 | « Source/web/tests/sim/SimRequest.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/sim/SimRequest.cpp
diff --git a/Source/web/tests/sim/SimRequest.cpp b/Source/web/tests/sim/SimRequest.cpp
index 84e11e74d1cca77e6596af32c8f1848bb3ae095b..228853340ad41460eb3a86301274e71c789c48f7 100644
--- a/Source/web/tests/sim/SimRequest.cpp
+++ b/Source/web/tests/sim/SimRequest.cpp
@@ -28,6 +28,11 @@ SimRequest::SimRequest(String url, String mimeType)
SimNetwork::current().addRequest(*this);
}
+SimRequest::~SimRequest()
+{
+ ASSERT(!m_isReady);
+}
+
void SimRequest::didReceiveResponse(WebURLLoaderClient* client, WebURLLoader* loader, const WebURLResponse& response)
{
m_client = client;
« no previous file with comments | « Source/web/tests/sim/SimRequest.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698