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

Unified Diff: chrome/browser/in_process_webkit/webkit_thread_unittest.cc

Issue 149238: Change the lifetime of the WebKit thread to be a subset of the IO thread's li... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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: chrome/browser/in_process_webkit/webkit_thread_unittest.cc
===================================================================
--- chrome/browser/in_process_webkit/webkit_thread_unittest.cc (revision 20100)
+++ chrome/browser/in_process_webkit/webkit_thread_unittest.cc (working copy)
@@ -5,13 +5,4 @@
#include "chrome/browser/in_process_webkit/webkit_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
-// This is important because if there are 2 different message loops, we must
-// have 2 different WebKit threads which would be very bad.
-TEST(WebKitThreadTest, TwoThreadsShareMessageLoopTest) {
- scoped_refptr<WebKitThread> thread_a = new WebKitThread;
- scoped_refptr<WebKitThread> thread_b = new WebKitThread;
- MessageLoop* loop_a = thread_a->GetMessageLoop();
- MessageLoop* loop_b = thread_b->GetMessageLoop();
- ASSERT_FALSE(loop_a == NULL);
- ASSERT_EQ(loop_a, loop_b);
-}
+// TODO(jorlow): Write some tests. http://crbug.com/16155
« no previous file with comments | « chrome/browser/in_process_webkit/webkit_thread.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698