Index: webkit/tools/test_shell/simple_resource_loader_bridge.cc |
diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc |
index 73fd0cb883ffc9734cc2e05cd8f04be09e1ea2cf..f57406ecb72ac0844157744bb59626bf83c34851 100644 |
--- a/webkit/tools/test_shell/simple_resource_loader_bridge.cc |
+++ b/webkit/tools/test_shell/simple_resource_loader_bridge.cc |
@@ -688,8 +688,7 @@ class SyncRequestProxy : public RequestProxy { |
} |
void WaitForCompletion() { |
- if (!event_.Wait()) |
- NOTREACHED(); |
+ event_.Wait(); |
} |
// -------------------------------------------------------------------------- |
@@ -879,8 +878,7 @@ class CookieGetter : public base::RefCountedThreadSafe<CookieGetter> { |
} |
std::string GetResult() { |
- if (!event_.Wait()) |
- NOTREACHED(); |
+ event_.Wait(); |
return result_; |
} |