Index: webkit/glue/cpp_bound_class_unittest.cc |
diff --git a/webkit/glue/cpp_bound_class_unittest.cc b/webkit/glue/cpp_bound_class_unittest.cc |
index 8937e2d6ab7d37794803f9029a1502fac9186668..4fbe560a23328fea11ddf483da13eac838501061 100644 |
--- a/webkit/glue/cpp_bound_class_unittest.cc |
+++ b/webkit/glue/cpp_bound_class_unittest.cc |
@@ -121,7 +121,7 @@ class CppBoundClassTest : public testing::Test, public WebKit::WebFrameClient { |
html.append(javascript); |
html.append("</script></body></html>"); |
webframe()->loadHTMLString(html, GURL("about:blank")); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
} |
// Executes the specified JavaScript and checks to be sure that the resulting |